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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Percent Change Between Matrix

I have this matrix that I would like to add a third column with the percent change between the two categories. For instance, the first value for U-16191 would be about a -17.99% decrease. How do I accomphish this? 

 

percent_dif.PNGpercent_dif_table.PNG

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

Try steps as below:

Create measure "measure value" to instead  the field  "value" :

Measure  value =
VAR _inital_Request =
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( 'Table', 'Table'[Category] = "Initial Request" )
    )
VAR _MPSC_Approved =
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( 'Table', 'Table'[Category] = "MPSC Approved" )
    )
RETURN
    IF (
        ISINSCOPE ( 'Table'[Category] ),
        SUM ( 'Table'[Value] ),
        _MPSC_Approved / _inital_Request - 1
    )

  

Change the column subtotals label from total to"Percentchange"

73.png

 

Here is a demo .

pbix attach 

 

Best Regards,
Community Support Team _ Eason
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

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

Try steps as below:

Create measure "measure value" to instead  the field  "value" :

Measure  value =
VAR _inital_Request =
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( 'Table', 'Table'[Category] = "Initial Request" )
    )
VAR _MPSC_Approved =
    CALCULATE (
        SUM ( 'Table'[Value] ),
        FILTER ( 'Table', 'Table'[Category] = "MPSC Approved" )
    )
RETURN
    IF (
        ISINSCOPE ( 'Table'[Category] ),
        SUM ( 'Table'[Value] ),
        _MPSC_Approved / _inital_Request - 1
    )

  

Change the column subtotals label from total to"Percentchange"

73.png

 

Here is a demo .

pbix attach 

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Greg_Deckler
Community Champion
Community Champion

I believe you want:

 

Measure =
  VAR __Sum1 = SUMX(FILTER('Table',[Category] = "Initial Request"),[Value])
  VAR __Sum2 = SUMX(FILTER('Table',[Category] = "MSPC Approved"),[Value])
RETURN
(__Sum1 - __Sum2) / __Sum1

 

Now, you may run into the issue where this measure ends up getting added multiple times. You can get around that by using something like this:

https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/td-p...

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi Ryan,

 

Try to follow the steps below

 

Create a new column inside power bi with the formula below

Percentage change = (MPSC Approved / Initial Request) - 1

 

Then click on the column and click on modeling to change the format to percentage. 

 

And finally, add this new column to your matrix. 

 

🙂

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors