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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.