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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
anabianco09
Helper II
Helper II

Card filtering measure

Hi all, I am building a dashboard where I want to display a message (text) on a card when the user selects something from the filter set up. 

It is a text column that I want to display on the card :

anabianco09_0-1702991868390.png

And when nothing is selected, it displays the first row:

anabianco09_1-1702991904768.png

how to solve this?

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @anabianco09 
You can use simple dax like 

text = MAX('Table'[your column])
Ritaf1983_0-1702992501612.png
pbix with example is attached
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Syk
Super User
Super User

Try something like this!

selected text = SELECTEDVALUE(Table[ColumnName],MIN(Table[ColumnName]))
Ritaf1983
Super User
Super User

Hi @anabianco09 
You can use simple dax like 

text = MAX('Table'[your column])
Ritaf1983_0-1702992501612.png
pbix with example is attached
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors