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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

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