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
Anonymous
Not applicable

I am trying to do a calculation using the below queries.

Potential # of Payouts = CALCULATE(COUNTA('Table1'[Incentive Pool]), ALLSELECTED('Table1'[Incentive Pool]))*0.20.  This = 462

 

I want to multiply the results from the ( Potential # of Payouts) by $700. The correct answer is $323,400.

Using this query: Potential Payout Amount = [Potential # of Payouts]*700. I get $323,540. ($140.00 more than the correct amount)

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

Hi @Anonymous ,

 

Maybe [Potential # of Payouts] is in the format of Whole Number. The real number of [Potential # of Payouts] is 462.2?

$323,400 = 462 * $700

$323,540 = 462.2 * $700

If you need $323,400 , please try:

 

Potential Payout Amount = ROUND([Potential # of Payouts],0)*700

 

 

Best Regards,

Jianbo Li

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

6 REPLIES 6
v-jianboli-msft
Community Support
Community Support

Hi @Anonymous ,

 

Maybe [Potential # of Payouts] is in the format of Whole Number. The real number of [Potential # of Payouts] is 462.2?

$323,400 = 462 * $700

$323,540 = 462.2 * $700

If you need $323,400 , please try:

 

Potential Payout Amount = ROUND([Potential # of Payouts],0)*700

 

 

Best Regards,

Jianbo Li

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, it worked!

amitchandak
Super User
Super User

@Anonymous ,
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Try like

Sumx('Table1', [Potential # of Payouts]*700)

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Solution was provided by v-jianboli-msft.

Anonymous
Not applicable

This is some of the sample date uising the Sumx. I am getting pretty much the same results. Some of the caculations for "Potential Number of Payouts" are correct but most are not.

Service LineIncentive PoolNumber of payoutsNumber of Potential PayoutsPayout TotalsPotential Payouts Amount
Capital ProjectsCIP001CP1214$8,400$9,800
Capital ProjectsCIP003CP03$0$2,100
Capital ProjectsCIP004CP23$1,400$2,100
Capital ProjectsCIP005CP01$0$560
Capital ProjectsCIP006CP01$0$840
Capital ProjectsCIP007CP33$2,100$2,240
Capital ProjectsCIP008CP11$700$840
Capital ProjectsCIP009CP22$1,400$1,680
Capital ProjectsCIP010CP11$700$840
Capital ProjectsCIP011CP11$700$980
Capital ProjectsCIP012CP23$1,400$1,820
Capital ProjectsCIP013CP12$700$1,120
Capital ProjectsCIP014CP00$0$280
Customer Account ServicesCAS001BS67$4,200$4,900
Customer Account ServicesCAS001CO23$1,400$1,820
Customer Account ServicesCAS001IC22$1,400$1,540
Customer Account ServicesCAS001MR89$5,600$6,440
Customer Account ServicesCAS001MS34$2,100$2,660
Customer Account ServicesCAS001SS11$700$700
Customer Account ServicesCAS002BS01$0$980
Customer Account ServicesCAS002CO11$700$840
Customer Account ServicesCAS002IC12$700$1,400
Customer Account ServicesCAS002MR12$700$1,260
Customer Account ServicesCAS002MS23$1,400$1,820
Customer Account ServicesCAS002SS01$0$840
Customer Account ServicesCAS003BS01$0$560
Customer Account ServicesCAS003CO48$2,800$5,600
Customer Account ServicesCAS003MS02$0$1,120
Customer Account ServicesCAS004BS12$700$1,120
Customer Account ServicesCAS004CC01$0$420
Customer Account ServicesCAS004CO01$0$980
Customer Account ServicesCAS005BS11$700$840
Customer Account ServicesCAS005CC11$700$840
Customer Account ServicesCAS006BS12$700$1,260
Anonymous
Not applicable

Solution was provided by v-jianboli-msft. Thanks!

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