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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Variable Alias in Calculated Column / IF Command & DAX?

I am working with a dataset with a column that can have one of 2 variables in it, or be empty/blank. When populated the variables in the dataset can be "Signed", "Signed - National".  

 

I would like to create a calculated column so that the data is interpreted as:

 

When "Signed" or "Signed Nartional" then "Sold", else (blank) "Available".  I am having issues with the IF DAX command to nail this the presentation of this alias.  All suggestions welcome.

 

Thanks.

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Anonymous

 

Hi, Lets call Your column "SignedType" (Signed , Signed - National, Empty)

 

Status=If(Table1[SignedType]="Signed" || Table1[SignedType]="Signed-National","Sold","Avalaible")

 




Lima - Peru

View solution in original post

1 REPLY 1
Vvelarde
Community Champion
Community Champion

@Anonymous

 

Hi, Lets call Your column "SignedType" (Signed , Signed - National, Empty)

 

Status=If(Table1[SignedType]="Signed" || Table1[SignedType]="Signed-National","Sold","Avalaible")

 




Lima - Peru

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.