Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a structured column of tables and I want to add a custom column to each of the tables in this structured column.
The custom column would be simple if applied to each table (just the max value of another column) due to how I have used Group By to create the structured column, and I can't think how I would do this after expanding the tables... but I may be thinking about this wrong as I am new to thinking in Power Query.
Is adding a custom column to every table in a structured column doable? Is it advisable?
Solved! Go to Solution.
add a new step after your group-by step
NewStep=Table.Combine(Table.TransformColumns(YourGroupByStepName,{"TableColumnName",each Table.AddColumn(_,"MaxValue",(x)=>List.Max([ColumnName]))})[TableColumnName])
add a new step after your group-by step
NewStep=Table.Combine(Table.TransformColumns(YourGroupByStepName,{"TableColumnName",each Table.AddColumn(_,"MaxValue",(x)=>List.Max([ColumnName]))})[TableColumnName])
Brilliant, thanks!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
14 | |
13 | |
12 | |
12 | |
12 |