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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vhall836
Frequent Visitor

What measure or dax to have my balance due on one line only, with multiple invoice lines

I have built this aging, and realized that when I have an invoice number and it has more than one line my "Balance due" is repeating itself.  Any suggestions how to have the balance due only show one the first line?

 

vhall836_0-1700259944876.png

 

 

 

1 ACCEPTED SOLUTION

Although no-one was able to give an answer I figured one out I would share.

 

I created 2 columns, one with indexing by group they other a key.  I then created the same key in my 2nd table and when bringing over the balances they key maps it to one line vs all of them.

View solution in original post

5 REPLIES 5
vhall836
Frequent Visitor

Ok, no measure tht is fine.  I don't mind a new column calculated field.  My desired result is the balance would pull on one of the lines and the other would be 0.  In my first post is what it looks like now and below is what I would want it to look like.

 

vhall836_0-1700482863568.png

 

Sorry, here is a better screen shot of all the data for one invoice.  

vhall836_0-1700483275371.png

 

Although no-one was able to give an answer I figured one out I would share.

 

I created 2 columns, one with indexing by group they other a key.  I then created the same key in my 2nd table and when bringing over the balances they key maps it to one line vs all of them.

Ashish_Mathur
Super User
Super User

Hi,

I would prefer to write a calculated column formula in the Table to solve this.  To receive more help, share some data to work with and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

A measure will only show one value if there is not any static column value holding/forcing measure to separate. If this is the case, there might be a field that you put as row in matrix chart to separate them.

  • You can try to remove that to see if it disappears
  • You can also filter out specific value the row field in matrix chart. 

Let me know if you other issue fixing this, or you can send out an example file with fake data and share the link. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.