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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PowerFX Enabled Deskto...
Power Automate
Answered

PowerFX Enabled Desktop Flow: Assign the Result of Concatenation to a Variable

(0) ShareShare
ReportReport
Posted on by 43

In my desktop flow, I have a variable named "BatchNumber". Let's say it contains the string value "1234".

 

I want to construct the string "View Batch 1234 - Work - Microsoft Edge", using the BatchNumber variable, and store it in another variable. I cannot for the life of me figure out why this is so difficult. I have tried this a dozen different ways, and none of them produce the desired outcome.

I have the same question (0)
  • Verified answer
    eetuRobo Profile Picture
    4,583 Super User 2026 Season 2 on at

    Is this what you mean?

    eetuRobo_0-1710260764068.png

    Concatenate Power FX:

    eetuRobo_1-1710260778661.png

     

    SET Mode TO $fx' - Work - '
    SET BatchNumber TO $fx'1234'
    SET ConcatenateSTRING TO $fx'=Concatenate("View Batch ", BatchNumber, Mode, "Microsoft Edge")'
  • Ipsifendus Profile Picture
    43 on at

    Yep, that's what I was after. So the rule with PowerFX is, equal sign, double quotes to contain literals, no percentage signs surrounding either the variable or the entire expression, correct?

  • eetuRobo Profile Picture
    4,583 Super User 2026 Season 2 on at

    Correct. Percentage signs are not used in the Power FX enabled version of pad. 

    Power FX reference guide:

    https://learn.microsoft.com/en-us/power-platform/power-fx/formula-reference-desktop-flows

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard