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
Stabben23
Helper I
Helper I

Create new aggregated table

Hi I have a table with values, I want to create a New table that is group by Item. This has to be done as new table because ACCMax is a calculated column with DAX, no Power Query.

Forum_groupby.PNG

6 REPLIES 6
AlB
Community Champion
Community Champion

@Stabben23 

Should work.  PRobably you're doing something differently.

If you share the table above in text-tabular format instead of on a pic, I can copy the contents and share back a pbix with the whole thing working.

 


SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

AlB
Community Champion
Community Champion

Hi @Stabben23 

Create a calculated table:

NewTable =
SUMMARIZE(Table1, Table1[Items], Table1[ACCMax] )

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Hi, Gives me an error like" reference to many columns..."

AlB
Community Champion
Community Champion

@Stabben23 

Sure, calculated tables are not supported in Power Pivot.  Why don't you just create a Pivot table?

Otherwise do the whole thing in PQ, ACCMAx and the rest

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

You must be using the code while creating a Measure. As mentioned by @AlB, use this code in the Calculated Column.

Write your query in the DATA field:
Screenshot 2021-06-04 at 3.59.18 PM.png

 

Problem is that this works in Power BI, not Power Pivot. 

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.