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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Previous Data display Today -1 MTD

Hi,

Please help

In my fact table, data has come in until yesterday. However, when I calculate the Month-to-Date (MTD) for the previous month, it includes data up to today. What I want is for my measure to display data from the Previous Month up to yesterday.

 

Ex - Today is 11th Oct 2023 but i want to show 1st Sep 2023 To 10th Sep 2023 in my measure.

 

Note - My date table connected to fact tables

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu

some_bih
Super User
Super User

Hi @Anonymous 

On link below check part creation of ShowValueForDates measure which allow you how to control dates to be visible in your scenario. On the link you can find other useful time intelligence calculation, as MTD (Month-to-date) or PMC (Previous month complete).

https://www.daxpatterns.com/standard-time-related-calculations/#:~:text=in%20Sales.-,Controlling%20the%20visualization%20in%20future%20dates,-Most%20of%20the 

 

Did I answer your question? Kudos appreciated / accept solutio





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.