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
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
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.