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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Summary Table

Hi

I've the following table. I'm trying to get a summary of this table where i get things grouped by Doc# and to sum the income next to each Doc#

 

Doc#IncomePerson
902$900.00S
874$3,900.00D
874$12,310.00D
778$480.00D
778$5,000.00D
788$16,000.00D
778$3,000.00D
666$2,500.00R
724$850.00B

 

 

I wish the output to be:

DocIncomePerson
902$900.00S
874$16,210.00D
778$24,480.00D
666$2,500.00R
724$850.00B

 

 

I tried to do summarize table or summarizecolumns but I was not ablve to achieve what I want.

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

please try this dax code,

new table = SUMMARIZE('Table','Table'[Doc#],'Table'[Person],"sum",SUMX('Table','Table'[Income]))

vxiaotang_0-1665738752539.png

 

Best Regards,

Community Support Team _Tang

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

View solution in original post

5 REPLIES 5
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Thanks for reaching out to us.

please try this dax code,

new table = SUMMARIZE('Table','Table'[Doc#],'Table'[Person],"sum",SUMX('Table','Table'[Income]))

vxiaotang_0-1665738752539.png

 

Best Regards,

Community Support Team _Tang

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

Ashish_Mathur
Super User
Super User

Hi,

To your visual, drag Doc# and Person and write this measure

Total = sum(Data[Income])

Hope this helps.


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

is your income a text field data type or a decimal data type?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Decimal

are you able to share your file?

 

firstly what is the purpose of what you are doing, would a matrix visual work?

are are you specifically trying to get a summarised calculated table?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.