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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
RickEpstein
Regular Visitor

SUMMARIZECOLUMNS No Longer Accepts Measures After October 2022 Release

Has anyone encountered a new issue in the October 2022 release in which SUMMARIZECOLUMNS used to accept measures in the DAX expressions (the last part of the SUMMARIZECOLUMNS function)? It now only   This worked before the October 2022 release.  This issue exists in teh Power BI service as well.  Does anyone know of a workaround?

3 REPLIES 3
meridok
Regular Visitor

Have exactly the same issue, are you running the data from an Analysis Services database?

 

edited to add print screen of result. If I summarize by something that's not a number I get an "unable to convert a value to the data type requested for table".

meridok_1-1667977479727.png

 

 

RickEpstein
Regular Visitor

Here is an example of what used to work but is no longer working (myMeasure is the measure):
SUMMARIZECOLUMNS
( //group by columns
'Table1'[LastName]
,'Table1'[City]
//filter the table
,FILTER('Table1','Table1'[State]="Texas")
//calculation expressions
,"Income",SUM('Table1'[Income])
,"MyMeasureCalc",MAX('Table1'[myMeasure]) //this causes a failure because it is a measure. This worked prior to October 2022 release.
)  

amitchandak
Super User
Super User

@RickEpstein , I tried this and it worked, net is my measure

Table 2 = SUMMARIZECOLUMNS('Item'[Brand], "Net",[Net])

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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