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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Dynamic Text

Hey,

 

This seems like it should be a simple thing, but I cant see any way of doing it.

 

I have a few places in one of my data models where I need dynamic text columns. So there will be an unlinked table, where the users will make a selection, and on the back of that, i would like the values in a text column to change.

 

One example would be a filter that makes data anonymous, so they click 'Anonymous' and the names are converted to xxxx. I can't do this in a measure as then I cant use this in the rows of a matrix, legend of a chart etc. 

 

Is there a way to do this?

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @Anonymous,

 

It is not supported, a calculate column can not get dynamic values.

Maybe you can vote here.

 

Best Regards,

Link

 

View solution in original post

4 REPLIES 4
v-xulin-mstf
Community Support
Community Support

Hi @Anonymous,

 

It is not supported, a calculate column can not get dynamic values.

Maybe you can vote here.

 

Best Regards,

Link

 

Anonymous
Not applicable

Thank you. I have voted. Hopefully this gets implemented some time soon, as I have a ton of different applications for it, and I feel like its a big functionality gap

themistoklis
Community Champion
Community Champion

@Anonymous 

 

You can try using the function SELECTEDVALUE in a measure

 

So if you have a slicer with Countries you can write something like this: 

Measure = IF (SELECTEDVALUE(Table[Country])= 'ABCD', 'XXXX', Table[FieldValue])

Anonymous
Not applicable

The problem with using a measure is I cannot use the measure in the rows of a matrix, legend of a chart etc

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.