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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
natasha519
Helper II
Helper II

Dynamic Text

I am trying to use the dynamic text value feature in Power BI but am unable to get it to work since I am using 2 different columns. 

 

I have one column with various timeframes (Jan-Feb, Feb-Mar) and then another column which shows the current timeframe (0 or 1).

 

How can I pull just the text (timeframe) where the current timeframe = 1?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @natasha519 ,

I created a sample pbix file(see attachment), please check whether that is what you want. You can create a measure as below, the displayed text will be dynamic base on the slicer selection.

Dynamic Text = 
CONCATENATEX (
    FILTER ( 'Table', 'Table'[current?] = SELECTEDVALUE ( 'Table'[current?] ) ),
    'Table'[timeframes],
    ",",
    'Table'[timeframes]
)

yingyinr_0-1641803466438.png

If the above one is not what you want, please provide some sample data(exclude sensitive data) and your expected result with backend logic and special examples. Thank you.

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @natasha519 ,

I created a sample pbix file(see attachment), please check whether that is what you want. You can create a measure as below, the displayed text will be dynamic base on the slicer selection.

Dynamic Text = 
CONCATENATEX (
    FILTER ( 'Table', 'Table'[current?] = SELECTEDVALUE ( 'Table'[current?] ) ),
    'Table'[timeframes],
    ",",
    'Table'[timeframes]
)

yingyinr_0-1641803466438.png

If the above one is not what you want, please provide some sample data(exclude sensitive data) and your expected result with backend logic and special examples. Thank you.

Best Regards

Samarth_18
Community Champion
Community Champion

Hi @natasha519 ,

 

As far as I can understand your question, you can add timeframes column in the visual and use  current timeframe as filter.

 

Thanks,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.