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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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