cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
icespedes Member
Member

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
Community Support Team
Community Support Team

Re: MoM change with a measure

@icespedes ,

 

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

 

Regards,

Jimmy Tao

icespedes Member
Member

Re: MoM change with a measure

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
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors