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
RanHo
Helper IV
Helper IV

How to get highest first, second . . . fifth value in a Column

Good day!

           Can someone help me how to get the first , second until 10th highest value data in a column that will be using in Gauge visual jus like this one:
111.JPG

and also the maximum value is different from each other but I just get it on one column. How can I do that?

Thanks in advance.

-RanHo





4 REPLIES 4
v-luwang-msft
Community Support
Community Support

Hi @RanHo ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.If not ,pls share a sample data for your case.

 

 

Best Regards
Lucien

@v-luwang-msft not yet, still working on it.

RanHo
Helper IV
Helper IV

@amitchandak thanks sir I'll try it.

 

amitchandak
Super User
Super User

@RanHo , Try measure  like

 

Rank Discount % = RANKX(all("Item"[Category]),[Discount %],,DESC,Dense)

 

2nd = calculate( [Rank Discount %], filter( value("Item"[Category]), [Rank Discount %] =2 ) )

 

or use maxx, sumx or averagex

 

maxx(filter( value("Item"[Category]), [Rank Discount %] =2 ), [[Rank Discount %])

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.