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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
userkcc6712
Regular Visitor

To show Difference of value between months

Hi everyone. Searched the forum but cant find a suitable solution for my example...

Am trying to build a comparasion data to show variance of current month vs previous month data. 

I have 3 months data currently (June to Aug), Values column "LC_Amount".

 

Appreciate your help, if you need further info. Pls let me know, thanks in advance. 

 

userkcc6712_0-1631546974735.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@userkcc6712 , You need to create a variance measure. You can use time intelligence for that

 

MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))

 

diff = [MTD Sales]-[last MTD Sales]

 

Power BI โ€” Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak , thanks for your respond. 

may i know why i encounter this error message, what went wrong? 

userkcc6712_0-1631582825278.png

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (29)