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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
CBurton87
Frequent Visitor

Rank by Total

Hi,

 

I'm trying to find a way to create a measure that ignores months when ranking.

the reason for this is im trying to create a graph that shows the monthly trend of an End Market based on its overall rank.

 

CBurton87_0-1592831584660.png

 

so in the graph, if i filter on Rank 2, we would want to see the monthly performance of End Market B.

Currently what we would get is End Market B for Jul-19 but End Market A for Aug-19.

 

Current DAX: 

End Market Rank = RANKX(ALL('Sales Table'[End Market]),[Actuals $])
 
is there a way, using the example above to have Rank 2 appear in all months for End Market B? instead of calculating each month individually?
 
thanks in advance.
 
Craig

 

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

Hi @CBurton87 

 

can you try something like this:

End Market Rank = RANKX(ALL('Sales Table'[End Market]),calculate([Actuals $],all([Months])))



Cheers,
Sturla

View solution in original post

1 REPLY 1
sturlaws
Resident Rockstar
Resident Rockstar

Hi @CBurton87 

 

can you try something like this:

End Market Rank = RANKX(ALL('Sales Table'[End Market]),calculate([Actuals $],all([Months])))



Cheers,
Sturla

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.