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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors