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
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
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.