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

dax formula gives inconsistent results across data sets

I am doing a simple rowcount across two related tables and am getting inconsistent results. 

 

In this first file I have paired the data set down to two IDs. In the Audit table I have 4 records for one ID and 5 records for the other. My "Record Count" custom column in the "Incidents" table calculates correctly. 

 

In this broken file, however I have loaded the full data set. The same 2 IDs from the first file have 4 and 5 records respectively, however it is calculating 5 records for both, even though one of them has 4. Any ideas why these are calculating incorrectly in the broken file?

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

By checking the Audit table in broken file, I found that there existing 5 records for both IDs.

1.PNG2.PNG

 

Best regards,

Yuliana Gu

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

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

By checking the Audit table in broken file, I found that there existing 5 records for both IDs.

1.PNG2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks Yuliana. After reviewing it again I see that it was operator error. I wasn't looking at the data correctly. Thanks for your time!

Helpful resources

Announcements
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.