cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerBIkalaimo Helper I
Helper I

Issues with using a Date Dim table

I have a Fact table with a DateKey as one of the fields.  I added a DateDim table, and linked the 2 tables with the DateKey in the model.  My issue is, when I do a CountRows of the Fact table, and it is linked to the DateDim table via the date key, the row count is off by about 2000 (of 3500000) records.  If I remove the link to the DateDim table, the row count is correct.  

To troubleshoot, I re-created the DateDim table with just the DateKey and linked that to the Fact table.  The row count was correct.

I added all my other DateTable fields back (MonthYear, Quarter, etc), and row count worked for all of the fields EXCEPT when I added Date.  

So if I create the DateDim table with DateKey and Date and link to the Fact table on DateKey, the row count is incorrect.  If I create the DateDim table with DateKey and MonthYear & Quarter only (and leave out Date) and I link to the Fact table on DateKey the row count is correct.

I do need the date field for my slicer.  Any thoughts as to what is wrong here?

Thanks for any help!

1 ACCEPTED SOLUTION

Accepted Solutions
PowerBIkalaimo Helper I
Helper I

Re: Issues with using a Date Dim table

After researching, someone had added a hidden slicer to the report that was being used to "slice a slicer" and remove certain record choices from the main slicer.  Once the edit interactions with these slicers was fixed, everything worked as expected.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Issues with using a Date Dim table

Hi @PowerBIkalaimo ,

Can you please share a sample pbix file for test? It is hard to troubleshooting without any detail information.

How to Get Your Question Answered Quickly

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI
PowerBIkalaimo Helper I
Helper I

Re: Issues with using a Date Dim table

After researching, someone had added a hidden slicer to the report that was being used to "slice a slicer" and remove certain record choices from the main slicer.  Once the edit interactions with these slicers was fixed, everything worked as expected.

View solution in original post

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors