cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Copy data from column if another column contains yes?

Hi!

So I have Column A and Column B, column A contains numbers and Column B contains "yes" or "no" I need a Column C that will copy the numbers from Column A if that row contains "yes" in Column B.

I know how to make a calculate column with this but I don't know the dax comand to "copy", "replicate" or "mirror".

Anyone know?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper IV
Helper IV

Re: Copy data from column if another column contains yes?

Try a conditional column:

condcolumn.JPG

View solution in original post

4 REPLIES 4
Highlighted
Helper IV
Helper IV

Re: Copy data from column if another column contains yes?

Try a conditional column:

condcolumn.JPG

View solution in original post

Highlighted
Helper I
Helper I

Re: Copy data from column if another column contains yes?

But with this don't I need to write something on "output"? I need it to copy the same data.

Highlighted
Helper I
Helper I

Re: Copy data from column if another column contains yes?

Got it! Thanks!!!

Highlighted
Helper IV
Helper IV

Re: Copy data from column if another column contains yes?

Your Welcome! Glad to Help!

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors