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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors