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 am trying to find a solution for below problem. I want to replicate my input and add flag columns. Here is my data:
Col1 Col2 Col3 Col4 Col5
aa bb cc dd 100
aa bb cc ee 200
aa bb cc ff 400
Output:
Col1 Col2 Col3 Col4 Col5 dd ee ff
aa bb cc dd 100 Yes No No
aa bb cc ee 200 No Yes No
aa bb cc ff 400 No No Yes
Thanks in advance.
Solved! Go to Solution.
@AdityaPowerBI In Transform Data, or Power Query, click on the Col4 and then choose Transform --> Pivot Column. (If you want both columns, you can right-click and duplicate the Col4 first, then pivot it.)
Let me know if that works for you!
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
@AdityaPowerBI In Transform Data, or Power Query, click on the Col4 and then choose Transform --> Pivot Column. (If you want both columns, you can right-click and duplicate the Col4 first, then pivot it.)
Let me know if that works for you!
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
User | Count |
---|---|
75 | |
75 | |
45 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |