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

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

Reply
infantpowerbi
Helper II
Helper II

How to copy the values of a column based on condition

Dear All,


I am from Tableau background and not so good in DAX expressions,
Below is my sample table format , Where I need to copy the values of Column Value to Column
A value where the Application Column is "A" .
I tried it in Edit Query and creating custom column but unable to get the result based on condition

Can any one please help me how can I make it

Capture.PNG

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 

 

You can achieve with the help of 'Conditional Column' in the 'Add Column' ribbon in the Query Editor

 

Select Column in the Output showned in the below image

 

Conditional Column.JPG

 

 

 

 

 

 

 

Nandri

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

 

You can achieve with the help of 'Conditional Column' in the 'Add Column' ribbon in the Query Editor

 

Select Column in the Output showned in the below image

 

Conditional Column.JPG

 

 

 

 

 

 

 

Nandri

AlB
Community Champion
Community Champion

Hi @infantpowerbi 

You can use this code in the custom column:

 

if [Application] = "A" then [Value] else null

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Cheers  Datanaut

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.