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

Filter the same metric by top n and top bottom

Hello, 

 

pbi.PNG

I did the top n and top bottom filters with DAX (RANX) as other tips explain. Currently i have both metrics (sales units top and sales units bottom) with the same values but one is to be able to filter by Top n and the other by Top Bottom.

 

Is there any way with DAX to join these two columns in only one being able to be filtered by top N and Top Bottom filters at the same time?

 

Thank You!

 
1 REPLY 1
Anonymous
Not applicable

Create a measure/calculated column:
TopAndBottomRank =
min( [RankTop], [RankBottom] )

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