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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
EriSte
Frequent Visitor

Changing display in BI report from "True"/"False" to "OK"/"Not completed"

I have a BI report that lists all the variables linked to an activity in each row.

One of the rows consists of a "True/False" input. 

 

Is there any way to change the display in my BI report, so that it shows "OK" or "Not completed", instead of the standard "True/false"?

 

Im new to BI, so a detailed explination would be greatly appreciated.

 

Thanks in advance!

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@EriSte  You can create a new calculated column with below dax syntex

 

Status = SWITCH('Table'[TF],"TRUE", "OK","FALSE","Not Completed")
Above code will work if your data type for true/false column is string
 
OR
 
Status = SWITCH('Table'[TF],TRUE(), "OK",FALSE(),"Not Completed")
Above code will work if your data type for true/false column is true/false type
 
Below picture will help you in creating the column
true false.png
 



Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

6 REPLIES 6
EriSte
Frequent Visitor

I found out what the problem was. In my version of BI, everything has to be sprayed by ; instead of, 

 

Thanks everyone!!! 

EriSte
Frequent Visitor

Thank you for all of the responses. I cant get the code to work, I always get the following error:

 

Unexpected expression "OK" 

Unexpected expression "Not Completed"

 

Everything else seems to fit the formula and be ok. Any ideas as to what I'm missing? 

Hi @EriSte 

Please show a screesnhot of your formula.

 

Best Regards

Maggie

amitchandak
Super User
Super User

@EriSte , try one of the following

column =if('Table'[Column1],"OK","Not Completed")
Column = SWITCH(true(), 'Table'[Column1]== True(),"OK","Not Completed")

Column = SWITCH(true(),'Table'[Column1]= True(),"OK","Not Completed")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
negi007
Community Champion
Community Champion

@EriSte  You can create a new calculated column with below dax syntex

 

Status = SWITCH('Table'[TF],"TRUE", "OK","FALSE","Not Completed")
Above code will work if your data type for true/false column is string
 
OR
 
Status = SWITCH('Table'[TF],TRUE(), "OK",FALSE(),"Not Completed")
Above code will work if your data type for true/false column is true/false type
 
Below picture will help you in creating the column
true false.png
 



Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

ryan_mayu
Super User
Super User

@EriSte 

 

You can create a column to switch the value.

 

Column = SWITCH('Table'[Column1],True(),"OK",FALSE(),"Not Completed")

111.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors