Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
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
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |