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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Display message action...
Power Automate
Unanswered

Display message action using variables is not displaying variable text value

(0) ShareShare
ReportReport
Posted on by 24

The flow I am building is setting a text variable and then I use that variable in a Display message action. I've tried several options, but am not able to get it to work according to what Microsoft documentation is telling me to do. 

 

Microsoft says to do this: https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/display

 

If I want a phrase in the "Message to display" field to include the variable value. Microsoft says to use %VariableName% but this is not working. Example is "This is the folder %EFGraphEXT%" The result I am getting is the text of "%VariableName%" and not the text value of the variable set, such as the variable value should be "This is the folder _EF-Graph".

 

If I only have the variable name from the {x} option on the right of the input box, it will show the value, but documentation says I should be able to add more text. 

This does not work, but should

rkapofu_1-1706663876060.png

 

This works without being able to add more text. 

rkapofu_0-1706663844440.png

 

Any ideas?

 

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    203 Moderator on at

    Hi @rkapofu 

    Have you enabled power fx 

    Without enabling power fx you will get the value as instructed in documentation 

    Once disable power fx in a new flow and create the flow 

     

    Hope this helps 

    Usha 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    As @UshaJyothi20 correctly pointed out, this is because your flow has Power Fx enabled. The documentation you referenced assumes you did not do that. The syntax is completely different when Power Fx is enabled. 

     

    If you want to keep using Power Fx, try doing this in your message box:

    =Concatenate('This is the folder ',EFGraphEXT,' where it is stored.')

     

    The concatenate() function is designed to concatenate separate strings. So, you can merge the two strings and the variable value together.

     

    See here for reference on the function: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-concatenate 

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard