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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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