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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
LCook
Frequent Visitor

Summarize in Power BI

I've tried multiple formulas but cannot get my data to summarize. Example of the data is:

 

DateLocationUnit TypeOutbound Units
11/9MiamiSmall500
11/9ChicagoLarge625
11/9ChicagoSmall754
11/7MiamiLarge234
11/5Los AngelesMedium567
11/5MiamiSmall125
11/6ChicagoLarge300
11/6Los AngelesLarge409
11/6Los AngelesSmall512

 

I want to summarize the data in a new table to total the units by date and location. The unit type can be ignored.

1 ACCEPTED SOLUTION
Dangar332
Super User
Super User

Hi, @LCook 

Table 2 = 
ADDCOLUMNS(
       SUMMARIZE('Table (4)','Table (4)'[Date],'Table (4)'[Location]),
       "total unit",
        CALCULATE(SUM('Table (4)'[Outbound Units]))
          )


try below

Dangar332_0-1699538189163.png

 

View solution in original post

3 REPLIES 3
LCook
Frequent Visitor

Thank you! This worked! I think I know where I was originally going wrong now. 

ERD
Community Champion
Community Champion

Hi @LCook , you want it as a visual or you need a virtual/physical table?

In case of a measure (just add it to the table visual with date and location columns):

 

units = SUM('Table'[Outbound Units])

 

ERD_0-1699538763515.png

A table:

 

ADDCOLUMNS (
    SUMMARIZE ( 'Table', 'Table'[Date], 'Table'[Location] ),
    "@units", CALCULATE ( SUM ( 'Table'[Outbound Units] ) )
)

 

ERD_1-1699538793748.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

Dangar332
Super User
Super User

Hi, @LCook 

Table 2 = 
ADDCOLUMNS(
       SUMMARIZE('Table (4)','Table (4)'[Date],'Table (4)'[Location]),
       "total unit",
        CALCULATE(SUM('Table (4)'[Outbound Units]))
          )


try below

Dangar332_0-1699538189163.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.