cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Column calculated with IF

Hi! 

 

Table A: szatendimento

datasaida

statusconta

30/05/2017

NULL

30/05/2017

C

 

I need to create a calculated column where:

 

If the datasaida column is filled and the account status is different from C, generate the letter F, otherwise generate the letter A.

 

I did so:

 

StatusF = IF (SZATENDIMENTO[DATASAIDA] <> BLANK (); "F"; "A")

 

I could not include the condition "and other than C".

 

I ask for help!

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: Column calculated with IF

@Gelain

 

StatusF = IF (SZATENDIMENTO[DATASAIDA] <> BLANK () && SZATENDIMENTO[STATUSCONTA]<>"C"; "F"; "A")




Lima - Peru

View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: Column calculated with IF

@Gelain

 

StatusF = IF (SZATENDIMENTO[DATASAIDA] <> BLANK () && SZATENDIMENTO[STATUSCONTA]<>"C"; "F"; "A")




Lima - Peru

View solution in original post

Highlighted
Frequent Visitor

Re: Column calculated with IF

Thank you @Vvelarde

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