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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
benaford
Frequent Visitor

Can I add percent change to columns and rows in a Matrix?

Hello. I've scoured the message boards for an answer to this with no luck so I thought I'd post on here. I have a matrix with two rows and two columns. I'd like to (instead of a total) have percent change year over year for rows and a percent change quarter over quarter for the columns. I could do this in two seconds in Excel, but it seems impossible in Power BI. Any help is appreciated. 

 

Example Matrix:

benaford_0-1681931138610.png

 

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @benaford,

You can write a measure formula to extract the current category fields as condition to filter and calculate the difference.

In Dax expression, the fiscal date may not directly work as common date values. For this senecio, you can use current fiscal date to find out correspond fact date and calculate to get the previous date. Then you can use this as condition to find out previous fiscal date to calculate.

If you are confused about coding formula, can you please share some dummy data to test?

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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