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

  • GirishS Profile Picture
    27,823 Moderator on at
    RE: how can i change an expression for two different legal entities

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

    Thanks,

    Girish S.

  • ax.tech Profile Picture
    86 on at
    RE: how can i change an expression for two different legal entities

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

  • Verified answer
    GirishS Profile Picture
    27,823 Moderator on at
    RE: how can i change an expression for two different legal entities

    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
    RE: how can i change an expression for two different legal entities

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

  • ax.tech Profile Picture
    86 on at
    RE: how can i change an expression for two different legal entities

    yes

  • GirishS Profile Picture
    27,823 Moderator on at
    RE: how can i change an expression for two different legal entities

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

    Thats what you are asking?

  • ax.tech Profile Picture
    86 on at
    RE: how can i change an expression for two different legal entities

    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,823 Moderator on at
    RE: how can i change an expression for two different legal entities

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,933 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans