Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, I have got table 1 and I want make Table 2. Does anyone knows how to do?
Thankx!
Solved! Go to Solution.
Thankx Stéphane for the code, does I add a custom column? Or where Can I add the code, in M?
No, just add a new step and replace "Your_Source" by your "previous step"
No, just add a new step and replace "Your_Source" by your "previous step"
Thanks, I haven already solved it.
Hi,
Table.Group(
Your_Source,
{"Column 1"},
{ {"Column 2", each Text.Combine([Column 2], " / ")},
{"Column 3", each List.Sum([Column 3])}},
GroupKind.Local,
(x,y) => Byte.From(y[Column 1] <> null))
Stéphane
Thankx Stéphane for the code, does I add a custom column? Or where Can I add the code, in M?
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 |
User | Count |
---|---|
16 | |
14 | |
8 | |
6 | |
6 |