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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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.

 

Anonymous
Not applicable

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.