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 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.

SCR-20231203-mcho.png
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard