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
Anmolgan
Post Prodigy
Post Prodigy

Merge blank field in calculations?

Hi, I have 2 tables where I am making the relation with a whole number id column, below is the visual that i am trying to build but the problem is that I want to add -1,233.84 balance in all the payer types calculations, the column used for the relationship contains some null values and hence this amount is not getting summed up for all the payer types, is there any way I can add this calcualtion into all the payertypes calculations? The total is correct is just that way of represenation is incorrect for all those payer type.

 

PFA the below screenshot:

Screenshot (1).png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anmolgan , I do not see any reason why that number should add. Unless your calculation do not consider it.

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

View solution in original post

8 REPLIES 8
amitchandak
Super User
Super User

@Anmolgan , I do not see any reason why that number should add. Unless your calculation do not consider it.

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
Greg_Deckler
Community Champion
Community Champion

Can you provide sample data and any formulas you have? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Do you want to add that balance equally across all of the payertypes or is it supposed to be distributed? 

 

Best method would be to fix the bad data that is causing the blanks.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler I want to add the amount equally to all the payer types.

Sorry @Anmolgan , just so I am clear, you want to divide the number by the number of payer types and add that amount to each OR you want to add that amount to each of the payer types? Either way it is adding an equal amount but it makes a big difference in the total. I am assuming the 1st option is what you want.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 1st option is the correct.

@Anmolgan - OK, is "pcc payments new" a measure or a column? If a measure, please post the formula for it. If a column, are you using a SUM aggregation?

 

This is going to be more difficult without understanding the source data.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler  yes its a calculated column am using below formula

 

Amount1 = CALCULATE(SUM('dw pcc_ar_transactions'[pcc payments new]), FILTER('dw pcc_ar_transactions', 'dw pcc_ar_transactions'[payer_id]= 0))
 
not sure what to replace on payer_id

OK, forgive me but I'm getting confused. Can you share some example source data so that I can verify what is going on? I don't need a lot, just enough to understand how you are getting to your current result.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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
Top Kudoed Authors