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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Srikarnandan7
Helper I
Helper I

Sorting on Total Column in Matrix

Hello Team,

 

I have a matrix with Total column, I now wanted to sort on 'Total' but I could not sort on it. can u please guide me how to sort on Total in Matrix.

test.png

1 ACCEPTED SOLUTION

Hi @Srikarnandan7,


Step1: Added ID column to Values and changed that to Count

Step2: Created new column 'Total' for sorting  with below expression

Total= COUNT('test'[ID]) 

Step3: I applied sorting on 'Total' column using 'Sort by Column', didn't work.

Please suggest me, am I missing something?


I'm not sure I understand step2. What do you mean about creating new column 'Total'? Based on my understanding, a Grand Total column should be added to the Matrix without any action. Could you be more precisely with it? Smiley Happy

 

r8.PNG

 

In addition, it could be better if you could share a sample pbix file which can reproduce the issue. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.

 

Regards

View solution in original post

7 REPLIES 7
v-ljerr-msft
Employee
Employee

Hi @Srikarnandan7,

 

I just verified that I can sort on the 'Total' column on Matrix visual with the latest version of Power BI Desktop(2.48.4792.721 64-bit (July 2017)). Smiley Happy

 

r7.PNG

 

What version of Power BI Desktop are you using? 

 

Regards

Hi @v-ljerr-msft

Thanks for the reply, I'm using 2.47.4766.801 64-bit.

Is that feauture availabe from 2.48.4792.721 64-bit?

 

Thanks,

Srikar

Hi @Srikarnandan7,


Is that feauture availabe from 2.48.4792.721 64-bit?


I don't think it is. However, could you try with this version of Power BI Desktop to see if it work for you? Smiley Happy

 

Regards

Hi @v-ljerr-msft

 

Now I'm using 2.48.4792.721 64-bit as you suggested. In this version I could see measures also which is not there in old version.

Apert from, still the sorting issue exists. Can you please suggest me did I do anything wrong.

Step1: Added ID column to Values and changed that to Count

Step2: Created new column 'Total' for sorting  with below expression

Total= COUNT('test'[ID]) 

Step3: I applied sorting on 'Total' column using 'Sort by Column', didn't work.

Please suggest me, am I missing something?Untitled.png

 

 

 

 

 

Hi @Srikarnandan7,


Step1: Added ID column to Values and changed that to Count

Step2: Created new column 'Total' for sorting  with below expression

Total= COUNT('test'[ID]) 

Step3: I applied sorting on 'Total' column using 'Sort by Column', didn't work.

Please suggest me, am I missing something?


I'm not sure I understand step2. What do you mean about creating new column 'Total'? Based on my understanding, a Grand Total column should be added to the Matrix without any action. Could you be more precisely with it? Smiley Happy

 

r8.PNG

 

In addition, it could be better if you could share a sample pbix file which can reproduce the issue. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.

 

Regards

Hi @v-ljerr-msft

I got this now. I just clicked on 'Total' column for sorting. Thanks for the help.

Hi @v-ljerr-msft

 

I create the new field 'Total' for sorting.

PFB the google drive link where I saved .pbix file. Please look into it and suggest me.

https://drive.google.com/open?id=0Bygkcr7gWuhZSXFzbFZCNjVudGM

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors