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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Power_MN
Helper I
Helper I

DAX: ADDCOLUMNS & SUMMARIZE with Filter - Need Help

Hello everybody, Unfortunately, I can't get any further with one issue. I would like to add a filter to the following DAX command that filters for a specific country. ADDCOLUMNS( SUMMARIZE(Table1, Table1[supplier], Table1[product]), "Average Price", [Average Price] ) --> Here I would like to filter for the country "America" Does anyone know a solution for my issue? Thank you so much! Michael
1 ACCEPTED SOLUTION
jameszhang0805
Resolver IV
Resolver IV

Please try :

AMAveragePrice =
ADDCOLUMNS (
    CALCULATETABLE (
        SUMMARIZE ( Table1, Table1[supplier], Table1[product] ),
        Table1[supplier] = "America"
    ),
    "Average Price", [Average Price]
)

View solution in original post

3 REPLIES 3
jameszhang0805
Resolver IV
Resolver IV

@Power_MN YOU are welcome. please click accept solution. thanks. 

jameszhang0805
Resolver IV
Resolver IV

Please try :

AMAveragePrice =
ADDCOLUMNS (
    CALCULATETABLE (
        SUMMARIZE ( Table1, Table1[supplier], Table1[product] ),
        Table1[supplier] = "America"
    ),
    "Average Price", [Average Price]
)

@jameszhang0805 That works! Thank you very much!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.