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
HenryJS
Post Prodigy
Post Prodigy

IF Contains Text

Hi all,

 

How do I create a new column IF Ref 1 has text then Yes

 

Capture.PNG

 

Thanks,

 

H

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@HenryJS 

 

Column = IF(ISBLANK([Ref 1]),BLANK(),"Yes")

 


Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@HenryJS 

 

Column = IF(ISBLANK([Ref 1]),BLANK(),"Yes")

 


Paul Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

FrankAT
Community Champion
Community Champion

10-03-_2020_16-53-35.png

 Regards Frank AT

Anonymous
Not applicable

IF(Reference1 <> BLANK(), "Yes", "No"

AnkitBI
Solution Sage
Solution Sage

Hi @HenryJS 

 

Try using ISTEXT function available in DAX. If you are looking for PQ, let me know.

 

Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.

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.