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

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

Reply
Anonymous
Not applicable

first n values from all slicer selection

Line 1: In a slicer i have "a,b,c,d,e,f,g,h" available.

 

Line 2: In that slicer i have selected "a,b,c,d,e" from the list in Line 1.

 

In a card visual, I want to retrun only the first 3 selections from the list in Line 2.

 

I my case the result will be "a,b,c" .

 

Please what dax can i use here?

I know this dax will retun all items selected: CONCATENATEX(VALUES('Table[column]),'Table'[column]," , ",'Table'[column],ASC)

But i only want only the first 3 items from this and not all selections.

1 REPLY 1
daxer-almighty
Solution Sage
Solution Sage

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.