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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

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 @Anonymous 

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 @Anonymous 

You may try

 

 

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

 

 

Anonymous
Not applicable

Thank You so much this exactly what I needed

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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