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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Snagalapur
Helper III
Helper III

Top 10 records (absolute value) in bargraph.

Hi All,

 

Please suggest how to have top 10 records (absolute value) in bargraph.

Snagalapur_0-1733168946412.png

Thank you.

 

1 ACCEPTED SOLUTION
v-fenling-msft
Community Support
Community Support

Thanks for ryan_mayu's concern about this issue.

 

Hi, @Snagalapur 

I am glad to help you.

 

You can use Top N function in visual filter directly like ryan_mayu.

 

Or you can create two Measure:

AbsoluteValueMeasure = ABS(SUM('Table'[Revenue]))

 

Rank = RANKX(ALL('Table'), [AbsoluteValueMeasure], , DESC, Dense)


Then drag Rank to Filter Pane for filtering:

vfenlingmsft_0-1733190497763.png

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-fenling-msft
Community Support
Community Support

Thanks for ryan_mayu's concern about this issue.

 

Hi, @Snagalapur 

I am glad to help you.

 

You can use Top N function in visual filter directly like ryan_mayu.

 

Or you can create two Measure:

AbsoluteValueMeasure = ABS(SUM('Table'[Revenue]))

 

Rank = RANKX(ALL('Table'), [AbsoluteValueMeasure], , DESC, Dense)


Then drag Rank to Filter Pane for filtering:

vfenlingmsft_0-1733190497763.png

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

could you please suggest why rank doesnt show top 10 instead i get top 9.

Snagalapur_0-1733311603191.png

 

ryan_mayu
Super User
Super User

you can try to use the Top N function in visual filter

 

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.