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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

Unable to make Time intelligence calculation work

I have a Sales table (Fact) and a Calender date table, which is marked as the "date table". Both table is linked by the date column in both tables on a 1 to many basis. Calendar table on the 1 side of the relationship.

I can get month to date calculation to work if i reference the date column in the Sales table but not if i reference the date column in the Calender table.

Basically non of the time intelligence measures work if i reference the Calender date column in the measure.

 

What am i doing wrong? Can any offer a solution? Thanks in advance

2 REPLIES 2
Anonymous
Not applicable

Seems like they should work just fine...Can you post some sample data and the measures you have created?

Anonymous
Not applicable


@Anonymous wrote:

Seems like they should work just fine...Can you post some sample data and the measures you have created?


Sample ViewSample View

Sample View

 
Sales MTD = TOTALMTD([Sales Total],G_Margin[Date]) - This works but using the fact table date column and not the "Dates"date colmun.
Sales LastMnth = Calculate([Sales Total],PREVIOUSMONTH(Dates[Date])) - Does not return a figure.
Any suggestion?
Thank you
 
 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.