Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Regular Visitor

Need Help With Power Automate Expression

Hi All,


Need some help converting dynamic content to an expression. The dynamic content I have is "add name to inquiry" then I have a yes or no choice. So when I click on Yes it shows True and No it show False. I would like it to show the person name instead of True and Annonymous instead of False. Can someone please help me out with the Expression? 


Thanks in advance!



Resolver III
Resolver III

Hi @ca-traveler,


It looks like SharePoint is the source because there is a SharePoint icon next to the Add name to the inquiry field in the screenshot.


Like @christinepayton I assume you want to use the author of the SharePoint item.


Can you try an expression like below


triggerOutputs()?['body/Author/Email'], 'Anonymous')

Regular Visitor

Hi All,


Adding to my email to see if someone can help me out! 

<![if !vml]>




I am trying to take my dynamic content and add an IF expression so when selected it will display a Persons Name instead of True and "Anonymous" instead of false. I tried the expression below but no joy!


Can someone please let me know where I am going wrong in the expression? Thanks in advance!



You would probably have more luck with this on the Power Automate community forum. But what is the issue exactly? Is your condition check not evaluating to true when the value is true? Or you don't know how to conditionally select something?


I would put the field into a condition action, check if it is equal to true, and have the yes/no branch do a "set string variable" action where it sets it to one thing or the other depending on what you want.


For the person's name, you mean like the person who created the item? If your source is SP, there should be a card in there for the created-by user's display name if that's what you're looking for. You can stick that in the set variable action.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.