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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
TimPowerBi2
Frequent Visitor

Summarize rows in a calculated table

Hello community!

 

I have an issue that seems really simple but because it is based on calculated columns to a calculated table I cannot use the Power Query Editor (as far as I know).

 

What I am trying to do is the following:

 - I have table 1 in which I created a calculated column to find the earliest date for each name at each step

 - now I want to create a new table in which I only get this earliest date column for each step for each name in one row

 - however when I try to do that I keep on getting multiple rows for each earliest date 

 - what I want is to combine the multiple rows for each name into one row so I can easily compare the earliest dates   

 

 Below you can find some pictures to illustrate what I am trying to do. The code I used to get the Current Situation example is the following:

 table 2 = summarizecolumns( table1[name] , table1[earliestdatestep1], table1[earliestdatestep2],table1[earliestdatestep3])

 

TimPowerBi2_0-1688631310876.png

 

It seems as an easy thing to do but I got stuck on it. Help would be greatly appreciated!

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@TimPowerBi2 ,
I hope this might help you.

Calculated Table = 
SUMMARIZE (
    'Table',
    'Table'[Name],
    "Step 1", MAX ( 'Table'[Step 1] ),
    "Step 2", MAX ( 'Table'[Step 2] ),
    "Step 3", MAX ( 'Table'[Step 3] )
)

Arul_0-1688646050090.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

4 REPLIES 4
Arul
Super User
Super User

@TimPowerBi2 ,
I hope this might help you.

Calculated Table = 
SUMMARIZE (
    'Table',
    'Table'[Name],
    "Step 1", MAX ( 'Table'[Step 1] ),
    "Step 2", MAX ( 'Table'[Step 2] ),
    "Step 3", MAX ( 'Table'[Step 3] )
)

Arul_0-1688646050090.png

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


This worked! Thank you so much highly appreciated.

 

johnyip
Solution Sage
Solution Sage

I believe you cn try creating your calculated table and column into PowerQuery-equivalent version, and then continue do the data processing in PowerQuery until your data meets your need.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!
Gokul_G16
Resolver I
Resolver I

Dear @TimPowerBi2 ,
Can you please try this below snap way over the Power Query level. 

Gokul_G16_0-1688633448976.png

Hope this have good on it.

Regards,
Gokul

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.