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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Month on Month Evolution Measure

Hello Guys,

I need your help

I'm trying to input a MoM share growth measure on a PBI Matrix, but I can't . Can you help?

 

Example:

Month 1: 5% share

Month 2: 10 % share

Desired output:
Example:
So in Month 2 in the column MoM Cat 1 should be: (Past - Present) / (Present) or ( 0.05 - 0.10) / 0.10 = 50% growth

carlovsky_0-1651154277168.png

 

Sample File:

Sample 

 

 

Thanks a lot

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Sorry for that I could access your sample file. You could refer to this blog to learn  How to provide sample data in the Power BI Forum

 

Eyelyn9_1-1651544123369.png

 

But I have built a data sample to test:

1. Assume MS% is the column not a measure

2. Add a Date column for calulation later

Date = DATE(LEFT([Year/Month],4),RIGHT([Year/Month],2),1)

Eyelyn9_2-1651545089345.png

 

Then according to my understanding, your expected output may like this:

Eyelyn9_0-1651544113519.png

If so, please try:

MoM Cat 1 = 
var _pre=CALCULATE(SUM('Table'[MS%]),PREVIOUSMONTH('Table'[Date]),ALLEXCEPT('Table','Table'[Brand],'Table'[Bi Cat 1]))
return DIVIDE( _pre-SUM('Table'[MS%]), SUM('Table'[MS%]))

Output:

Eyelyn9_3-1651545271532.png

 

Best Regards,
Eyelyn Qin
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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Sorry for that I could access your sample file. You could refer to this blog to learn  How to provide sample data in the Power BI Forum

 

Eyelyn9_1-1651544123369.png

 

But I have built a data sample to test:

1. Assume MS% is the column not a measure

2. Add a Date column for calulation later

Date = DATE(LEFT([Year/Month],4),RIGHT([Year/Month],2),1)

Eyelyn9_2-1651545089345.png

 

Then according to my understanding, your expected output may like this:

Eyelyn9_0-1651544113519.png

If so, please try:

MoM Cat 1 = 
var _pre=CALCULATE(SUM('Table'[MS%]),PREVIOUSMONTH('Table'[Date]),ALLEXCEPT('Table','Table'[Brand],'Table'[Bi Cat 1]))
return DIVIDE( _pre-SUM('Table'[MS%]), SUM('Table'[MS%]))

Output:

Eyelyn9_3-1651545271532.png

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.