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
azeemnazim
Helper II
Helper II

Time Intelligence function

 https://drive.google.com/file/d/15bz4a5Pq5bsgNZuE68eTeKWwNrDmNsdo/view?usp=sharing 

 

Hi,

I have been facing serious issues while creating the time intelligence function in the above-mentioned file. The calendar table that I have created is perfectly fine but I am facing issues when I use a DatesMTD  using the mentioned  formula 

MTD Sales = CALCULATE([Sum sales],DATESMTD(Calender[Date].[Date])) , but I am getting no values I have also created a table for reference in the above-mentioned path to the Pbix file. I have also been facing issue with the calendar table as the value picked up from the calendar table and my fact table does not show value please help me in this and what is causing this issue.
 
Thanks 
Azeem
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@azeemnazim , please avoid using . Date

Ventas MTD: CALCULATE([Sum sales],DATESMTD(Calender[Date]))

Power BI — YTD
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Power BI — QTD
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
Power BI — MTD
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e

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

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@azeemnazim , please avoid using . Date

Ventas MTD: CALCULATE([Sum sales],DATESMTD(Calender[Date]))

Power BI — YTD
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Power BI — QTD
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
Power BI — MTD
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e

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

Hi Amit,

I tried the same but I am still facing the issue, Please check my Pbix file if possible.

Thanks

If possible can you please check why I am not getting any values when I am using date from calendar table and just selecting sales in table its not giving any values.

Thanks, I found the issue myself.

Hi @azeemnazim ,

Glad to hear the issue is solved. You can kindly share your solution and accept your reply as solution, that way, other community members could easily find the answer when they get same issues.


Best Regards,
Yingjie Li

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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