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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
nisha_deepak
Helper III
Helper III

Check date column is empty when creating a measure

I have a column named invoice_date which is of type date .Some times in invoice_date value will be empty.So, i want to create measure by  check whether that value is empty means i want add a value from another column (Policy_expiry_date) which is of type date else i have to take value from invoice_date itself.Plse help me.22.PNG

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@nisha_deepak - Create a column as below-

Measure = IF(ISBLANK('TableName'[invoice_date]),'TableName'[policy_expiry_date],'TableName'[invoice_date])

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@nisha_deepak , Nor very clear

check blank

calculate(count(Table[Policy_expiry_date]), isblank(Table[invoice_date]))

 

check not blank

calculate(count(Table[Policy_expiry_date]), not(isblank(Table[invoice_date])))

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

33.PNG

 

checking invoice_date is empty or not ,if empty means take value from policy_expiry_date,

then put it in measure column.Is it possible.plse help me?

Anonymous
Not applicable

@nisha_deepak - Create a column as below-

Measure = IF(ISBLANK('TableName'[invoice_date]),'TableName'[policy_expiry_date],'TableName'[invoice_date])

thanks.It helps me to solve my problem

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.