Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Syndicate_Admin
Administrator
Administrator

How to copy data from a row in successive empty rows to a row with data automatically?

Good afternoon:

First of all, thank the people who answer for their help. I understand that it is easy but I have been doing it manually for some time and I want to learn how to do it more efficiently. From the software of my store I download the monthly information by customer, description of services, price, VAT, time, ticket number, etc. As I copy in the image below what I want to get is a formula or a way to quickly make me repeat the fields of ticket number, arrival time departure time and name of the client for all the descriptions of services that have been made in the same ticket, for example, as I have marked in the green columns. In blue is how it comes from the original file, a single line of those fields and all the others empty until the next ticket. How could I do it? Until now what I do is copy and paste until the next ticket but I am convinced that there is a faster way.

4pepesanchez4_0-1633708499252.png

Thank you very much in advance,

Greetings.

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

What if it were in Excel how would you do it? It's possible? Also, I understand, that I can prepare the data, I charge them in Power Query, I give the button you tell me and I would have it. @Syndicate_Admin

Thanks again!

Hi @4pepesanchez4 ,

 

Are you doing this in Excel? Is it on the spreadsheet of on the query editor?

 

If you are on the query editor the steps are the same has I refer on top the colour scheme is different but the functionalities are the same.

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @4pepesanchez4 ,

 

On the query editor if you select the columns you need and do right click you have an option that is fill down that way it will fill the information until the next value:

 

MFelix_0-1633710163121.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors