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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Display "Multiple" in a card when multiple projects are selected

Hi everyone...

I would like to have a card visualization display the Project ID selected in a page filter from a column with non-distinct values, or the text, "Multiple" if more than one distinct project is selected. For example; if the user selects Project ID "1" from a page filter created from the column below, "1" will be displayed in the card. If they select Project IDs "1" and "2," "Multiple" will be displayed in the card. Any thoughts on how the DAX should be written?

 

Project ID
1
1
1
2
3
4
4
4
5



1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Hi @Anonymous ,

 

You can try this measure and drag to your card.

Measure = IF(HASONEVALUE('Table'[Project ID]),SELECTEDVALUE('Table'[Project ID]),  "MULTIPLE")

 

Hope this helps.

View solution in original post

4 REPLIES 4
mussaenda
Super User
Super User

Hi @Anonymous ,

 

You can try this measure and drag to your card.

Measure = IF(HASONEVALUE('Table'[Project ID]),SELECTEDVALUE('Table'[Project ID]),  "MULTIPLE")

 

Hope this helps.

Anonymous
Not applicable

Perfect. Thank you.

ryan_mayu
Super User
Super User

@Anonymous 

maybe you can try

Measure = CONCATENATEX(DISTINCT(ALLSELECTED('Table')),'Table'[Project ID],",")

plse see the attachment below

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thank you. I'll keep this solution in my back pocket if the requirement calls to list the multiple Project IDs selected in a card instead of the word, "Multiple." 👍

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors