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
poojithas
Helper III
Helper III

Incorrect Measures output after adding additional fields in Power BI

Hi All,

I have below measures in my report :

Total = distinctcount([account_no],  [DQ_Issue]= "Record-Set" )

In-Valid_Contacts = calculate(distinctcount([account_no]), DQ_Issue="In-Valid" && Category = "Email-Marketing" )

Valid-Contacts = [Total]-[In-Valid_Contacts]

Valid-Contacts%=[Valid-Contacts]/[Total] *100

 

My expected output is as below which I am able to get:

poojithas_0-1669025505134.png

But, when I add two additonal fields, that is DQ_Issue and Category , the output is changing.
1. Output after I add DQ_Issue field: -> This is still correct as I can add a filter to restrict to only DQ_Issue="In-Valid" and the output is same as expected output

poojithas_1-1669025629127.png

 

2. Output when I add both DQ_Issue and Category: This is incorrect as after adding a filter to restrict  DQ_Issue="In-Valid" and Category="Email-Marketing'  the output is changing

poojithas_2-1669025701934.png

 

Note: I am adding DQ_Issue and Category field to enable drillthrough to another page based on DQ_Issue and Category. I am basically adding the fields and hiding this from the final output.

Could someone please suggest on how the below output can be achieved.

Valid ContactsIn-Valid ContactsValid Contacts%DQ_IssueCategory
996463299.97%In-ValidEmail-Marketing
1 ACCEPTED SOLUTION

Changing the measure Total = distinctcount([account_no],  [DQ_Issue]= "Record-Set"  &&Category = "Contacts" ) fixed the issue.

View solution in original post

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

Hi @poojithas ,

Could you pls share your own solution to help others  to figure out it.

 

Best Regards
Lucien

Changing the measure Total = distinctcount([account_no],  [DQ_Issue]= "Record-Set"  &&Category = "Contacts" ) fixed the issue.

poojithas
Helper III
Helper III

This has been fixed by changing the logic. thankyou!

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.