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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
trchawla
New Member

Auto Date/Time for the Data Load options - make your own Date table instead!

I had seen this suggestion (manually creating your Calendar table for Time Intelligence), but didn't think it was important. Until now.

 

After creating a data model that auto-generated the hidden date table, it was time to run my measures through some validations. In testing a measure that looked as if it was computing results correctly, I found that indeed it wasn't. Several of the values that I expected in the result set were missing. After spending time in Dax Studio (lots of head scratching, rewriting the measure, etc.),the problem surfaced - it had to do with date values being ignored/removed/context-transitioned-out? of the result set. If my expected result set all had a single date value, the expected result was returned. If my expected result set contained multiple dates, only a subset was returned and all of that data corresponded to a single date. Note: part of the visual filtering criteria included "Dates Between" on a slicer.

 

After trying various solutions, the only one that worked definitively was to follow the advice of Russo/Ferrari - manually create a CalendarDate table and mark it as the Date Table. Magic happened and PowerBI started to give consistent & complete results as expected.

I apologize if this is a repetitive post, but I haven't been able to find other sources where people experienced the same situation as I have.

 

Just happy it's working 🙂

1 REPLY 1
v-danhe-msft
Employee
Employee

Hi @trchawla,

Thanks for your sharing.

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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