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 August 31st. Request your voucher.

Reply
Kristinfortner
Frequent Visitor

How do I duplicate a column's data based on the value of another column.

I have a form where a campus is selected. When the form is complete, the responder has the option to fill it out again for the same campus or a different campus. I am trying to replace the value "No, student #2 attends the same campus" with the original campus selection.  

MicrosoftTeams-image (11).png

1 REPLY 1
wdx223_Daniel
Super User
Super User

NewStep=Table.ReplaceValue(PreviousStepName,"No, student #2 attends the same campus",each [#"What compus does your student attend?"],Replacer.ReplaceValue,{"Does student #2 attend a different campus.........."})

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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