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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Date table not working

I built an SSAS Tabular model cube and created a date table using calendarauto. I have marked it as a date table and created a relationship with the fact table using the date column, and both columns have a Datetime data type.
When I analyze the data using excel, the date filter is not working correctly. For example, when I filter on the year 2021, it gives me row values for the year 2019 also, but if I use the date column from the fact table, I get the correct results.
When I analyze the Tabular cube using Power BI, it works right.
Could you please suggest what exactly is going wrong with our date table?

 

Thanks in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

 When Analyzing the data on Excel using only attributes generates cross join, so now I understand that I should add a measure to my table.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

 When Analyzing the data on Excel using only attributes generates cross join, so now I understand that I should add a measure to my table.

Fowmy
Super User
Super User

@Anonymous 


Can you try replacing the calendarauto function with the CALENDAR function?

Example:
CALENDAR ("01/01/2019" , "31/12/2021" )

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

I still get the same results( values from the year 2019) when filtered by 2021.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.