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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
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
Top Kudoed Authors