Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I want to create a new column called [KG of Batch] which sums up the values from another column [WeightOfBatchLine], grouped by another column [Batch Header No]. All of these fields are on the same table.
See the example in my picture below.
Any help greatly appreciated.
Solved! Go to Solution.
Hi @PhoenixBird66 , you can use the next calculated column:
KG of Batch = var VarId='Batch'[Batch Header No.] return CALCULATE(SUM('Batch'[WeightOfBatchLine]);FILTER('Batch';'Batch'[Batch Header No.]=VarId))
Best Regards,
Miguel
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @PhoenixBird66 , you can use the next calculated column:
KG of Batch = var VarId='Batch'[Batch Header No.] return CALCULATE(SUM('Batch'[WeightOfBatchLine]);FILTER('Batch';'Batch'[Batch Header No.]=VarId))
Best Regards,
Miguel
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
87 | |
80 | |
69 | |
69 |
User | Count |
---|---|
226 | |
129 | |
119 | |
83 | |
77 |