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

Sunnarizing data

Dear all,

 

I have a small problem which almost breaks my nerves (after 2 hours searching for a solution).

 

I have a table which looks like this:

ITEMNUMBERDESCRIPTIONOURREFStatus_orderQuantity
AMS2000-002ML2i USB Host Adapter ''FULL''C190005Ready for Invoicing1
AMS2000-002ML2i USB Host Adapter ''FULL''C190005Ready for Invoicing2
AMS2000-002ML2i USB Host Adapter ''FULL''C190005Ready for Invoicing3
AMS2000-002ML2i USB Host Adapter ''FULL''C190005Ready for Invoicing4
AMS2000-002ML2i USB Host Adapter ''FULL''C190005Ready for Invoicing5
AMS2000-002ML2i USB Host Adapter ''FULL''S190470Closed5
AMS2000-002ML2i USB Host Adapter ''FULL''S190179Closed4
AMS2000-002ML2i USB Host Adapter ''FULL''S190517Quotation3
AMS2000-002ML2i USB Host Adapter ''FULL''S190471Quotation6
AMS2000-002ML2i USB Host Adapter ''FULL''S190432Await Payment7
AMS2000-002ML2i USB Host Adapter ''FULL''S190380Confimed8
AMS2000-002ML2i USB Host Adapter ''FULL''S190059Confirmed1
AMS2000-002ML2i USB Host Adapter ''FULL''S190059Closed2

 

I am looking for the proper DAX solution to summarize this table to the below table.

Your help is highly appreciated!

John

ITEMNUMBERDESCRIPTIONOURREFStatus_orderQuantity
AMS2000-002ML2i USB Host Adapter ''FULL''C190005Ready for Invoicing15
AMS2000-002ML2i USB Host Adapter ''FULL''S190470Closed9
AMS2000-002ML2i USB Host Adapter ''FULL''S190517Quotation9
AMS2000-002ML2i USB Host Adapter ''FULL''S190432Await Payment7
AMS2000-002ML2i USB Host Adapter ''FULL''S190380Confimed9
AMS2000-002ML2i USB Host Adapter ''FULL''S190059Closed2
1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Drag columns1,2 and 4 to the Table visual and write this measure

=SUM(Data[Quantity])

Hope this helps.


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

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Drag columns1,2 and 4 to the Table visual and write this measure

=SUM(Data[Quantity])

Hope this helps.


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

Sorry, in the summary table, I do not need the "OURREF" column

Table = SUMMARIZECOLUMNS(Table1[ITEMNUMBER], Table1[DESCRIPTION], Table1[Status_order], "Quantity", SUM(Table1[Quantity]))

If I can assume that there is a slight mistake in your desired table (the extra 'Closed' status line)

Helpful resources

Announcements
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.