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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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