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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to replace SUMMARIZE when it is depricated?

I understand that the DAX function SUMMARIZE is deprecated and will eventually be removed. 

What alternative function can be used instead?

SUMMARIZECOLUMNS seems like the obvious one, but unfortunately it does not work within context transitions, so is not very useful.

1 ACCEPTED SOLUTION
PaulOlding
Solution Sage
Solution Sage

Hi @Anonymous 

Are you referring to this from dax.guide?

PaulOlding_0-1658393575699.png

It's not the whole SUMMARIZE function that's deprecated, just the ability to add new columns to the grouped table.

The recommended way to do that would be

ADDCOLUMNS(
    SUMMARIZE(Table, Table[Column]),
    "New Column Name", <Expression>
    )

 

View solution in original post

5 REPLIES 5
PaulOlding
Solution Sage
Solution Sage

Hi @Anonymous 

Are you referring to this from dax.guide?

PaulOlding_0-1658393575699.png

It's not the whole SUMMARIZE function that's deprecated, just the ability to add new columns to the grouped table.

The recommended way to do that would be

ADDCOLUMNS(
    SUMMARIZE(Table, Table[Column]),
    "New Column Name", <Expression>
    )

 

@Anonymous what @PaulOlding said 🙂

@Anonymous I wrote the code for your case:

 

Count Over 75 =
    SUMX(
    	ADDCOLUMNS(
	        SUMMARIZE(
	            'FactTable',
	            'Employee'[EmpID],
	            'Employee'[StoreID],
	            'Project'[Project]
	        ),
          	"_Over75", IF([MeasureOfInterest] >= 75, 1),
        ),
        [_Over75]
    )

 

 


2022-05-19 17_30_22-Re_ Need help on DAX function with measure vs colu... - Microsoft Power BI Commu.png


Full-Logo11.png

SpartaBI_3-1652115470761.png   SpartaBI_1-1652115142093.png   SpartaBI_2-1652115154505.png

Showcase Report – Contoso By SpartaBI

SpartaBI
Community Champion
Community Champion

@Anonymous who said SUMMARIZE is deprecated? 
Do you have a reference for this announcement? 

Anonymous
Not applicable

@SpartaBI , the relevant references are:

Solved: DAX: Who wants a challenge with SUMMARIZE? - Microsoft Power BI Community

SUMMARIZE – DAX Guide

EylesIT_0-1658393976727.png

 

 

But it appears that only part of the SUMMARIZE functionality is being depricated: the parameters to create columns and expressions.

 

So in my case, I would need to replace this existing DAX measure:

 

Count Over 75 =
    SUMX(
        SUMMARIZE(
            'FactTable',
            'Employee'[EmpID],
            'Employee'[StoreID],
            'Project'[Project],
            "_Over75", IF([MeasureOfInterest] >= 75, 1)
        ),
        [_Over75]
    )

 

with this syntax:

 

Count Over 75 =
    SUMX(
        SUMMARIZE(
            'FactTable',
            'Employee'[EmpID],
            'Employee'[StoreID],
            'Project'[Project]
        ),
        IF([MeasureOfInterest] >= 75, 1)
    )

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.