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
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
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.