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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
RAKESH1986
Helper II
Helper II

create new table from existing table column

Hi all,

 

pls, help me to solve this issue.

 

I have an existing table and from this table, I need to create a new table but need to sum of values in the new table.

 

RAKESH1986_0-1672221423591.png

 

I need a new table with three columns only

discipline, PW attribute, PW value

civil & structural , pw17, 0.45%

civil & structural , pw18, 0.46%

 

could you help me with how to do this?

 

thanks

 

 

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@RAKESH1986 Right-click your query and create a reference. Select your three columns, right-click the header row and choose "Remove other columns". Now do a Group By operation, group by discipline and PW attribute with a sum aggregation for your PW value.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@RAKESH1986 Right-click your query and create a reference. Select your three columns, right-click the header row and choose "Remove other columns". Now do a Group By operation, group by discipline and PW attribute with a sum aggregation for your PW value.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler  Thanks for response.

 

but this not working for me, see below

I added groups by two columns.

 

RAKESH1986_0-1672228134180.png

 

 

after this, I am getting the error invalid ref

what wrong I did in this step?

 

RAKESH1986_1-1672228261329.png

 

 

Is the data source an Excel file?  If so, there may be a reference error in one or more of the cells that Power Query can not handle.  

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Kudoed Authors