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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Rio007
Helper I
Helper I

Making empty row in a date column as pending

Thanks in advance for helping me with this challenge 

 here I'm trying to indentify empty row as pending. this the DAX code I wrote

Status = IF('Fact-Tasks'[Closed] = BLANK(), "Pending",'Fact-Tasks'[Closed]
but I get this error "Expressions that yield variant data-type cannot be used to define calculated columns"
1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Rio007 

You may try

 

 

Status =
IF (
    'Fact-Tasks'[Closed] = BLANK (),
    "Pending",
    'Fact-Tasks'[Closed] & "" )
)

 

 

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Rio007 

You may try

 

 

Status =
IF (
    'Fact-Tasks'[Closed] = BLANK (),
    "Pending",
    'Fact-Tasks'[Closed] & "" )
)

 

 

Thank You so much this exactly what I needed

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.