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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Anonymous
Not applicable

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])
Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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