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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

IF statement

I am looking for a way to create an IF statement that works to create the "New Column"

 

If ( cuts = 1, " Savings amount", "0") 

 

I am having trouble creating the "New Column" Values based off the above IF statement. 

 

Saving    Cuts     New Column

  92.00       0              0

  23.00      1              23

    15         1              15

     0          0              0  

    12.00    0              0

  900.00    1            900

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@Anonymous 

it's unclear your desired output but I can suggest your column will look like

New Column = IF([cuts] = 1, [Saving], 0)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi, 

 

I'm not sure what you're asking for exactly but sounds like the conditional column can create what you need. 

Go to add a column, conditional column 

 

for example 

Karlos_1-1595450835230.png

 

 

az38
Community Champion
Community Champion

@Anonymous 

it's unclear your desired output but I can suggest your column will look like

New Column = IF([cuts] = 1, [Saving], 0)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Apologies for the confusion but this is exactly what I needed. I had "0" in my formula so that was the reason it did not work. 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.