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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
augustacrow
New Member

Matrix Columns- switching order and adding delta column

Hello!

 

I am seeking help with one of the Power BI matrixes I have been working on. Basically, it is made up of values that are all calculated columns (six of them) which have different fields that make them up. They are then grouped by business and shown as rows within the table. The columns of this table are made up of a categorical field that splits the values into "final" or "intial".

 

I have had two issues with this: 

1. I can't switch the order of the column headers to "Initial", "Final" because they are automatically sorted by alphabetical order and there seems no easy way to do so

2. I want to add in a third column that shows the delta value between the final and initial values. Ideally, I could do this without changing up the matrix format right now.

 

Open to any suggestions! 

3 REPLIES 3
augustacrow
New Member

Thank you! The sorting worked for my columns. However, when it comes to repurposing my total, I'm a little confused with how to go about that. Since each of the values are calculated differently, the delta is going to be calcualted differently between the final and initial group and I am not sure how to add a collection of fields to replace my total column. Would appreciate any other guidance you have on this!

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

lbendlin
Super User
Super User

1. Read about how to sort one column by another column.  Use a dimension table, indicate the sort order, and then use measures for the values.

2. You can repurpose the "Total"  column for that. Again, needs a measure.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Top Solution Authors
Top Kudoed Authors