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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

MTD Last Month in Funnel Chart

Hi PB Buddy, 

 

My question is about MTD, in the picture shown below, the funnel chart in left is this month September and right is the last Month August, 

The figures for September (Left) is MTD (supposed today is 10th Sept, i.e. 9/1 to 9/10), this is the formula

Leads MTD =
TOTALMTD( COUNT([Customer]), DATEADD( 'Date'[Date], 0, MONTH) )
 

The figures for August (Right) is supposed to be 8/1 to 8/10, but now that it counts 8/1 to 8/30, the forumla is 

 
Leads MTD LM =
TOTALMTD( COUNT([Customer]), DATEADD( 'Date'[Date], -1, MONTH) )
 

 

How can I show the count for 8/1 to 8/10?

image.png

Many thanks!

 

 

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

For any time intelligence function, you could implement a custom DAX formula.

https://www.sqlbi.com/articles/time-intelligence-in-power-bi-desktop/

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I've searched many previous examples already, but still cannot get a right answer.

 

The main problem is that the total of last month is entire month, but I need a same period.

Leads MTD LM should be 309, not 856

 

Would anyone help? many thanks!

image.png

Anonymous
Not applicable

So sorry that this is not my desired answer

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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