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 Apps / Convert Text to usable...
Power Apps
Answered

Convert Text to usable Expression?

(0) ShareShare
ReportReport
Posted on by 4

Hi, I'm building an app where there's a dynamic component but I believe I can only achieve this by converting text into an expression. 

 

A simplified example is this:

I have a Gallery linked to a Collection (with Category, Field, Type, e.g. Collection.Category, Collection.Field, Collection.Type) > TextInput control > Default

 

In the 'Default' field I would normally just type in:

 

 

First(PowerBIIntegration.Data).PropertyName

 

 

With this, the Default text for this TextInput control will be something like "ABC Company", but since I am making it dynamic (based on some user selections prior) I instead was thinking of using this:

 

 

Concatenate("First(PowerBIIntegration.Data).",ThisItem.Field)

 

 

In this case, ThisItem.Field = PropertyName however when I tested this out, the Default text for this TextInput control ended up being "First(PowerBIIntegration.Data).PropertyName" which is the expression I want but the control is treating it as text. 

 

Is there a way to then convert this outputted text from the Concatenate function into a usable expression?

 

I've attached a screen shot in case that's useful.

Categories:
I have the same question (0)
  • Verified answer
    DavidZoon Profile Picture
    738 Most Valuable Professional on at

    Hello @Wesssso ,

     

    It's impossible to convert a text string into a PoweFx function

  • Wesssso Profile Picture
    4 on at

    Ahh bugger that's unfortunate. Thank you for your input. 

     

    Would you happen to know if there's another way to implement what I'm trying to do (assuming you're able to figure out based on my post/screen shot)?

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard