web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how can i change an expression for two different legal entities

(0) ShareShare
ReportReport
Posted on by 86

Hi All,

How can i change a text  into expression for two different legal entities. PFA screenshot.

Thanks in advance waiting for your response

7318.abc.png

I have the same question (0)
  • GirishS Profile Picture
    27,827 Moderator on at

    Hi ax.tech,

    Can you elaborate your question.

    If you want to change the text into expression you need to give the text values inside double quotes.

    Right click Text box - Expression - ="Test"

    Thanks,

    Girish S.

  • ax.tech Profile Picture
    86 on at

    Hi Girish,

    Thanks for replying. we have two legal entities but I want text shown in screenshot to be in only one legal entity in the report design. How can i do that please help waiting for reply.

  • GirishS Profile Picture
    27,827 Moderator on at

    You want to hide the text box based on the legal entity?

    Thats what you are asking?

  • ax.tech Profile Picture
    86 on at

    yes

  • ax.tech Profile Picture
    86 on at

    I want above mentioned text in the textbox for ex: Legal Entity "A" but not in legal entity "B".

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Add the below expression in visibility of the text box.

    IIf(Parameters!AX_CompanyName.Value = "DAT", True, False)

    If the company name is DAT then the text box will not be visible. For other companies text box will be visible.

    Thanks,

    Girish S.

  • ax.tech Profile Picture
    86 on at

    thank you so much girish for your valuable time. Now its working fine

  • GirishS Profile Picture
    27,827 Moderator on at

    Please mark it as verified if its solved your issue. So others can make use of it.

    Thanks,

    Girish S.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans