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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Dynamic ranking

 

 

Hi All,

 

Please help me on dynamic Ranking in Column Not in Measure.....

 

i have created the rank column by brand wise and i applied any filters the rank is not comeing correctly . i am useing formula for rank in column=

Rankall Rows Groupby Brand =
RANKX(FILTER(ALLSELECTED(Sheet1),Sheet1[brand_id]=EARLIER(Sheet1[brand_id])),Sheet1[Index],Sheet1[Index].can you please help me on this.. 

how to create the dynamic ranking in columns not in Measure.. 
OrginalOrginal

 

applying filter as gender  and brandapplying filter as gender and brand

 

with applying filter as brandwith applying filter as brand

 

 

 

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create measures

Measure = SUM(Sheet6[Index])

Measure 2 = 
RANKX(FILTER(ALLSELECTED(Sheet6),[Brand]=MAX(Sheet6[Brand])),[Measure],,DESC)

5.png

 

Best Regards

Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

 

 

Hi,, thank you for your quick reply

 

but i need to create the same thing in calculated columns not in measures. if its possible to create the same thing in calculated columns????

 

Because i need to use the calculated column in matrix visual columns... Measures we can not used in the columns..

 please help me on this issuse......

Hi @Anonymous 

It is impossible for a calcuated column to change dynamic based on selection.

 

Best Regards

Maggie

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.