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.
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!
Solved! Go to Solution.
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.
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
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |