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
Anonymous
Not applicable

MoM change with a measure

Hi,

 

Im trying to calculate a MoM change from this variable:

 

AA WS =
DIVIDE(
    SUM('wallet_share'[Deuda Interna]),
    SUM('wallet_share'[Deuda externa])
)
 
My approach was the following:
AA WS_1 =
CALCULATE(SUM('wallet_share'[Deuda Interna])/SUM('wallet_share'[Deuda externa]),
DATEADD(wallet_share[Fecha],-1,MONTH)
)
 
And then:
AA MoM = [AA WS]-[AA WS_1]
 
However, this doesnt work. Is there an error? Please help.
2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Mesuare minus measure sometimes doesn't work. Could you share some sample data and clarify the expected result?

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Hi,

 

This is the data:

 

YearMonthamounttotal amountpercentage
2018August$12,223,940,162.80$256,682,471,312.664.76%
2018September$12,398,403,638.51$249,201,281,497.684.98%
2018October$13,335,632,187.75$254,938,640,117.025.23%
2018November$13,257,593,286.08$271,370,276,657.274.89%
2018December$13,526,113,348.24$272,994,377,931.334.95%
2019January$13,973,302,229.23$268,551,517,278.735.20%
2019February$15,389,685,991.45$288,150,974,563.635.34%
2019March$15,780,812,442.37$292,420,018,287.965.40%
2019April$16,118,617,756.52$289,750,213,615.555.56%
2019May$16,283,954,632.74$288,871,277,307.345.64%
2019June$16,892,080,720.50$296,401,707,114.245.70%
2019July$16,575,910,084.15$290,215,200,574.595.71%

 

I would like to obtain the MoM change of the percentage.

 

I use measures because creating columns for this calculation, with the exact same formula, returned extremely different results since it was agreggating per client; therefore, i cannot use column calculations but measure ones.

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