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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
utkuacik
Frequent Visitor

how to copy rows depending on column values

Hi guys, so sorry if this question is asked before , but after searching 3 day in internet , i could not find a solution , probably i am new to power BI and M language.  so sorry if i made aa mistake , cause it is my first time writing to a forum . thank you all

 

i have a table with 13 columns.   i just want to copy rows according to values in columns named "from" and "to" .  

Untitled.png

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

In power query, Add Column -> custom column.

{[From]..[To]}

then Expand the column (from the header) 'to rows'

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

In power query, Add Column -> custom column.

{[From]..[To]}

then Expand the column (from the header) 'to rows'

you are my hero 🙂 thank you so much 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors