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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Set the UNCHAR value based on IF , AND consitions

Hello All,

 

  • I am very new to Power BI and trying to set the UNICHAR value using IF with AND statement 
  • Below is the DAX expersion using neither I am getting error nor value with beow expression, Kindly please help me
IF(SharePointList1[WorkStatus]="A" && SharePointList1[Status]="Completed", UNICHAR("128994"))
 
@Anonymous @Pradeep 
@amitchandak 
1 ACCEPTED SOLUTION

Hey @Anonymous ,

 

as a calculated column the formula seems to be correct.:

myColumn = IF(SharePointList1[WorkStatus]="A" && SharePointList1[Status]="Completed", UNICHAR("128994"))

 

Did you add it to the table SharePointList1?

Do you receive an error message?

 

Best regards

Denis

View solution in original post

3 REPLIES 3
selimovd
Super User
Super User

Hello @Anonymous ,

 

where do you want to use that? In a calculated column or a measure?

If it's in a measure your columns need an aggregation:

myColumn =
IF(
    MAX(SharePointList1[WorkStatus]) = "A" && MAX(SharePointList1[Status]) = "Completed",
    UNICHAR( "128994" )
)

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 
Anonymous
Not applicable

@selimovd tq for your balze reposne , I need the experssion in Calulated Column .
But I didn't find luck to the expersion . Please extend your support.

Hey @Anonymous ,

 

as a calculated column the formula seems to be correct.:

myColumn = IF(SharePointList1[WorkStatus]="A" && SharePointList1[Status]="Completed", UNICHAR("128994"))

 

Did you add it to the table SharePointList1?

Do you receive an error message?

 

Best regards

Denis

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.