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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
itsmebvk
Continued Contributor
Continued Contributor

Matrix row total incorrect

 

 

Hi Folks,

 

I am facing some strange issue, i created two measure which filters for Inactive and Active status. Pass status we need for 13 periods, fail status we need it for one period. I was able to achieve this but when I try to do a division on these two measure I am getting some strange row total count.

 

Active:Calc_Active_Count =
CALCULATE(
    COUNTA('Query1'[EID]),
    FILTER(Query1,Query1[tus]="Pass")
)

 

 

Inactive: 

Calc_InActive_Count =
CALCULATE(
    COUNTA('Query1'[EID]),
    FILTER(Query1,Query1[tus]="Fail")
)
 
Total : = (Fail/Pass)*100
 

Total should be : 21.74+8.05=29.79 instead it is showing 11.28

Error.png

Please suggest.

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @itsmebvk ,

 

Would you please show us sample pbix by onedrive for business if possible. Lack of detailed information, we can't figure it out.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

3 REPLIES 3
v-deddai1-msft
Community Support
Community Support

Hi @itsmebvk ,

 

Would you please show us sample pbix by onedrive for business if possible. Lack of detailed information, we can't figure it out.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

themistoklis
Community Champion
Community Champion

@itsmebvk 

 

IN the matrix what are the dimensions that you have in the table?

The ones on the far left.

@themistoklis Capture.PNG

 

In measure section I have Total : = (Fail/Pass)*100

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors