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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Sedos101
Helper I
Helper I

Maximum

Hi Everyone

 

I have the following dilemma and would like to know how to add a new column using Power Query to get the desired result


Basically I have a table with the first two columns however I need another column to populate the maximum payload recorded for a cycle number as can be seen below:

 

Can someone please help me on how to write this in Power Query?

 

Thank you

 

Cycle Number PayloadNew Column For Max Payload
15053
15253
15353
26060
36061
36161
45890
48590
49090
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Sedos101!

I would do the next:

First duplicate the table and group the new table by Cycle number with Max Payload, the formula would be something like this:

 

#"Grouped Rows" = Table.Group(#"Changed Type", {"Cycle Number"}, {{"Count", each List.Max([Payload]), type nullable number}})

 

 Then merge the first table with the new table by cycle number, and you would get this:

Luis98_0-1665223942836.png

I hope this solve your question!😀

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Sedos101!

I would do the next:

First duplicate the table and group the new table by Cycle number with Max Payload, the formula would be something like this:

 

#"Grouped Rows" = Table.Group(#"Changed Type", {"Cycle Number"}, {{"Count", each List.Max([Payload]), type nullable number}})

 

 Then merge the first table with the new table by cycle number, and you would get this:

Luis98_0-1665223942836.png

I hope this solve your question!😀

Legend @Anonymous  thanks so much!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.