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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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