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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
czaldumbide
Helper I
Helper I

Add 'Percent Change versus last date' column in matrix

Hi Everyone,

 

I have a matrix where I display the balance at the End of Month or End of Year per country and I want to include the percent changes between Month to Month or Year to Year. 

 

My table only contains rows for those dates that any activity happened so there can be weekends or holidays that don't appear. Becuase of this I can't use the CLOSINGBALANCEMONTH() formula. Instead I use the following measure:

 
End of Date Balance =
CALCULATE(SUM('Sales'[Balance]), FILTER('Sales', 'Sales'[DATE] = Max('Sales'[DATE])))
 
By dragging Country Code into my rows, Year and Month from Date Table to the columns, and my measure to the values I get the following matrix. 
Matrix at year level.PNGmatrix at month level.PNG
 
 
 
 
 
 
 
 
Now I want to add the percent change column after every Month or Year depending on which hierarchy level we are. 
Let me know what suggestions you have and if you need any further information.
 
Thanks! 
 
 
0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors