Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Experts,
I have a requirement where Sponsor(Data Type - Text) field is distinct for the given same combination of the Market + Process.
What I want as an output is a Distinct combination for Market + Process with the sponsors getting concatennated in a single rows with a , delimiter. and the Expected Savings getting aggregated (sum).
Please note I would need this in Power Query since I need to use it in excel as well.
Please refer to the Image :
Regards,
Ravi
Solved! Go to Solution.
Try adding this step in the formula bar of Query Editor.
Please see attached file as well
= Table.Group(#"Changed Type", {"Market", "Process"}, {{"Sponsor", each Text.Combine(_[Sponsor],",")}, {"Expected Savings", each List.Sum([Expected Savings]), type number}})
Please try concatenatex
https://docs.microsoft.com/en-us/dax/concatenatex-function-dax
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
Thanks , but I need the solution in Query editor.
Try adding this step in the formula bar of Query Editor.
Please see attached file as well
= Table.Group(#"Changed Type", {"Market", "Process"}, {{"Sponsor", each Text.Combine(_[Sponsor],",")}, {"Expected Savings", each List.Sum([Expected Savings]), type number}})
User | Count |
---|---|
94 | |
79 | |
76 | |
64 | |
60 |
User | Count |
---|---|
108 | |
101 | |
77 | |
63 | |
61 |