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
EpicTriffid
Helper IV
Helper IV

Creating difference columns in Matrix

Hi all,

 

Just to demonstrate what I need I have created these in Excel:

 

Bit of a weird one, and might not be possible, but I have the following matrix viz showing scores based on subject by year. The Year can be classed as an actual (it's already happened), or a forecast (targets for the future):

EpicTriffid_0-1666942075230.png

 

The data is stored as below:

Table 1

EpicTriffid_1-1666942075224.png

 

I would to do the following in the matrix mentioned above, with columns for differences between certain forecast years and the latest actual year:

 

EpicTriffid_2-1666942075228.png

 

So, the 1 Year Forecast difference would minus 2024 from 2023 and return the difference, the 5 Year Forecast difference would minus 2028 from 2023 and return the difference and so on. The sum itself isn't rocket science, but it's whether i can put that all in one matrix like the above.

 

Is this at all possible? I've tried creating a calculated column in my table that calculcates scores for 2028 and scores for 2023 (subtracting one row from another) and minuses the former from the latter, (in order to just get the maths sorted out) but my matrix just looks like this instead:

 

EpicTriffid_3-1666942075220.png

 

 

Can anyone help? I'm totally stumped! I need those difference columns, if not as part of the matrix itself then at least as calculations on their own. Thank you!

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @EpicTriffid ,

you can use such solution putting one matrix above the other.

 

mangaus1111_0-1666944826773.png

 

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

2 REPLIES 2
v-yadongf-msft
Community Support
Community Support

Hi @EpicTriffid ,

 

Has your problem been solved? If solved, please consider Accept it as the solution to help the other members find it more quickly.

 

Best regards,

Yadong Fang

mangaus1111
Solution Sage
Solution Sage

Hi @EpicTriffid ,

you can use such solution putting one matrix above the other.

 

mangaus1111_0-1666944826773.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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