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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
langwj
Frequent Visitor

MoM Data shows with Date hierarchy slicer, but not on the original slicer

Hello, 

I made a page to get a information of sales count with a Date Slicer.

 

If a slicer is configured with Date Level(Hierarchy), it works pretty well with MoM position, thigs using Time Intelligence. 

langwj_0-1675825279164.png  

langwj_1-1675825287897.png

langwj_2-1675825317864.png

 

But When I made another slicer with original slicer without using level, the figure doesn;t match.

 

langwj_3-1675825370625.png

 

langwj_4-1675825381369.png

 

Simple count such as jusst counting the Sales of the Month, they get right.

but the logic I made to get a PREVIOUS MONTH's sales, the slicer doesn't work.

 

Do you have any solution for this?

 

I followed Power BI Given Logic to get the sales data such as MoM, YoY

2 REPLIES 2
amitchandak
Super User
Super User

@langwj , Try measures like these for MOM 

 

 

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

 

Time Intelligence, Part of learn Power BI https://youtu.be/cN8AO3_vmlY?t=27510
Time Intelligence, DATESMTD, DATESQTD, DATESYTD, Week On Week, Week Till Date, Custom Period on Period,
Custom Period till date: https://youtu.be/aU2aKbnHuWs&t=145s

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

Hello, thank you for the answer but the measures you suggested doesn't work
WHat is different between below three measure?

MTD Sales
last MTD Sales
last month Sales

How should I get the final MOM measure from those three?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.

Top Solution Authors
Top Kudoed Authors