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
Anonymous
Not applicable

Time Intelligence Calculation Issue

MikeMCFRS_0-1615406963466.png

Greetings One & All, With reference to the table above, I am trying to calculate YTD,MTD and so on but the result I obtain does not seem to be accurate because it includes the default 1/0/1900 when I use the "Referral Date" column in the YTD calculation. Is there a way to calculate the YTD &MTD etc without including the default 1/0/1900 dates?? I have a date table included in the data model but it doesn't work effectively. Any ideas from the forum will be greatly appreciated.

4 REPLIES 4
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

Can you provide the DAX formula you are using? Can you provide more sample data and the output results you want?

 

Best Regards,
Winniz

Anonymous
Not applicable

@v-kkf-msft Many thanks for your willingness to help. The DAX formula I used is as follows: MTD =TOTALMTD(COMBO1[APS],(COMBO1[REFRERRAL DATE])
YTD=TOTALYTD(COMBO1[APS],(COMBO1[REFERRAL DATE])

This is what I am trying to achieve in terms of output results:

MikeMCFRS_0-1615812771434.png

I hope this clarifies what I am asking help with. Thanks

Hi @Anonymous ,

I want to know how you successfully changed the type of column REFRERRAL DATE? Because the function TOTALMTD/TOTALYTD need to refer to the date column, when I convert column REFRERRAL DATE into date type, the cell with the value "1900-1-0" will be wrong.

image.pngimage.png

So the table I get after conversion is as shown in the figure below.

image.png

Can you share your PBIX file that does not contain sensitive data?

 

Best Regards,
Winniz

Anonymous
Not applicable

Hello Winniz,

 

I did not have any issues with the date because I formated the excel file with the date column as date. Again you can find the tranform tab in powerbi desktop and change the column to date format.

Unfortunately, my file contains sensitive data so I cannot share it. 

 

Thanks for your help

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