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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.