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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors