Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I would like to copy the rows from the first column to the second.
Whenever the logic comes to a row with "VC" I would like "VC" copied instead until the next "VC" value.
Then, it returns to copying the row in the first column.
| Column | (Value to return) |
| XX | XX |
| XX | XX |
| XX | XX |
| XX | XX |
| VC | VC |
| BY | VC |
| BY | VC |
| BY | VC |
| BY | VC |
| BY | VC |
| VC | VC |
| BY | BY |
| BY | BY |
| BY | BY |
| BY | BY |
| BY | BY |
| VC | VC |
| BY | VC |
| XX | VC |
| VC | VC |
| XX | XX |
| XX | XX |
Power Query is the tool to do such things... Please have a look:
https://1drv.ms/u/s!ApyQEauTSLtOgYMozxOFMkHiel9nYg?e=8az3Ym
Best
D
Can you send this to joshscha@gmail.com?
@Anonymous
So interesting! I'll try as soon as I can and get back to you.
Having a hard time wrapping my head around the logic that is desired here. But, mabye something like Cthulhu:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Cthulhu/td-p/509739
I changed the discription a bit, maybe it's clearer. thanks.
Hi @Anonymous
Create one index column.
Then create below two columns
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |