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

Current MTD shows blank values

Hello, I have a problem with MTD column. I want on this column to show only April '22 sales and not the previous months. For example the sales for April '22 is 7379,42 so I want this number only to be shown on MTD column, of course I want the same for the other product types. Thank you.

4 REPLIES 4
AilleryO
Memorable Member
Memorable Member

Hi,

 

I would suggest to use DATESINPERIOD instead of MTD to get only one value, the one from previous month with something like :

Total Last Month = CALCULATE([Total Amount], //Calculate your measure...
DATESINPERIOD(Sales[Date invoice],//In a period of time
TODAY(),//starting from today
-1,//and back one...
MONTH)) //month...
 
This should bring you only one value. Let us know
Anonymous
Not applicable

Inked2022-05-13-11-03-28-201_LI.jpg

Anonymous
Not applicable

I have values for MTD but I want only the value of the latest month on the MTD column and also not change the information of the other columns.

Hi @Anonymous ,

 

If possible, please share your pbix file without sensitive data and expect result.

Best Regards

Community Support Team _ chenwu zhu

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.