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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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 carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.