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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
shaylacrowe
New Member

Summarize Audits by PO #

Hello, 

I am trying to summarize a list of audits by PO#. There are numerous audits with the same PO#. I need to be able to consolidate the audits with the same PO# and report how many total units were audited and how many defects there were total.

Thanks for your help! 

 

1 ACCEPTED SOLUTION
Kedar_Pande
Super User
Super User

@shaylacrowe 

Using a DAX Calculated Table

SummaryTable = 
SUMMARIZE(
AuditTable,
AuditTable[PO#],
"TotalUnitsAudited", SUM(AuditTable[UnitsAudited]),
"TotalDefects", SUM(AuditTable[Defects])
)

This SummaryTable will contain the consolidated data, showing one row per PO# with the total units audited and total defects.

 

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

View solution in original post

4 REPLIES 4
rajendraongole1
Super User
Super User

Hi @shaylacrowe -By default, In Power BI will sum the Units Audited and Defects for each PO#. It will display the totals in the table, grouped by PO#

 

can you please share some sample data, so that we can check and analyse the same.

 

if you 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Angith_Nair
Continued Contributor
Continued Contributor

Hi @shaylacrowe 

 

You can create a measure in which you can get the total units of the audits.

Total Units = SUM(TableName[Units])

 

For the defect units, there must be some column (Defect) which says that this unit is a defect. Create another measure which says

Defected Units = 

CALCULATE(

[Total Units],

TableName[Defect] = "Yes"

)

 

Drag the PO#, Total Units, Defected Units.

Kedar_Pande
Super User
Super User

@shaylacrowe 

Using a DAX Calculated Table

SummaryTable = 
SUMMARIZE(
AuditTable,
AuditTable[PO#],
"TotalUnitsAudited", SUM(AuditTable[UnitsAudited]),
"TotalDefects", SUM(AuditTable[Defects])
)

This SummaryTable will contain the consolidated data, showing one row per PO# with the total units audited and total defects.

 

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

This worked! Thank you SO much!!! 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

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.