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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
M_Kishore
New Member

Negative % sorting issue in Matrix visual

Hi Power BI Community,

 

I'm trying to sort as per slno in matrix table, it is a simple divde measure. Kindly refer below snaps for refrence.

consol category is sorted as it own, in this we are able to see all -ve & +ve % of Revenue.

M_Kishore_1-1689245028645.png

after sorting with consol category sort order all neagtive % are not apperaing 

M_Kishore_3-1689245403003.png

 

for sorting purpose created required template, that is not help full.

simple measures like sum of totalsales / sum of revenue.

 

Kndily provide solution

 

Thanks in advance.

 

Regards,

M

 

2 ACCEPTED SOLUTIONS
pratyashasamal
Memorable Member
Memorable Member

Hi @M_Kishore ,
Make sure If this is a column that you are using in Sort By column is numeric .
You can refer to this youtube video :-
https://www.youtube.com/watch?v=72qQrPw4RuE&t=304s
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





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

Proud to be a Super User!





View solution in original post

M_Kishore
New Member

Below DAX will solve 

% Rev = VAR A =  DIVIDE([Amount],CALCULATE([TR],ALL('Consol Category Sort'[Consol Category],'Consol Category Sort'[Order])),0)
Return A

View solution in original post

4 REPLIES 4
M_Kishore
New Member

Below DAX will solve 

% Rev = VAR A =  DIVIDE([Amount],CALCULATE([TR],ALL('Consol Category Sort'[Consol Category],'Consol Category Sort'[Order])),0)
Return A
pratyashasamal
Memorable Member
Memorable Member

Hi @M_Kishore ,
Make sure If this is a column that you are using in Sort By column is numeric .
You can refer to this youtube video :-
https://www.youtube.com/watch?v=72qQrPw4RuE&t=304s
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





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

Proud to be a Super User!





Thanks for the support. Yes it's in Numeric only. I cracked the solution.

Oh nice .
hope i could help you .
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C





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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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