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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Brite
Helper I
Helper I

Power Bi DAX Measure Adding Wrong Help

Hi everyone,

 

I am stuck on this measure adding the total wrong and am unsure why. 

Brite_0-1631309747710.png

The DAX formula I am using: 

Month1_Reject Rate FINAL = IF([Total_Rejected]<2,(calculate([Pay1],'Fail Cancel.Rejected'[ STRIPE_ID]<>Blank())), 0)
1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Brite ,

 

In the total section [Total_Rejected] = 84 > 2, then the measure [Month1_Reject Rate FINAL] returns 0. If you want to sum the measure [Month1_Reject Rate FINAL] in the total section, you can try the following formula:

 

Total = 
If(
  ISFILTERED(Table[column]),
  [Month1_Reject Rate FINAL],
  sumx( allselect(Table[column]), [Month1_Reject Rate FINAL] )
)

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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-kkf-msft
Community Support
Community Support

Hi @Brite ,

 

In the total section [Total_Rejected] = 84 > 2, then the measure [Month1_Reject Rate FINAL] returns 0. If you want to sum the measure [Month1_Reject Rate FINAL] in the total section, you can try the following formula:

 

Total = 
If(
  ISFILTERED(Table[column]),
  [Month1_Reject Rate FINAL],
  sumx( allselect(Table[column]), [Month1_Reject Rate FINAL] )
)

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

 

mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video for how to get the expected total.

(2) Power BI - Tales from the front #01 - Getting the Right Total - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.