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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Ad_456
Frequent Visitor

Lookupvalue with a datevalue zero

Hello, I have a table (smax_ServiceLevelTarget) where I want to lookup a value, where a datefield is zero (empty) :

Ad_456_0-1671527153540.png

The next statements gives no result:

 LOOKUPVALUE(
        smax_ServiceLevelTarget[Status],
        smax_ServiceLevelTarget[ParentId] , smax_Incident[ID] ,
        smax_ServiceLevelTarget[TargetType] , "TimeInGroup" ,
        smax_ServiceLevelTarget[Achievementdate], 0 )        
 
The result I want to see is in the first line of the table.
Can you help me?


1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello,

You could try this

Measure = IF(MIN('Date'[Date] = BLANK(),smax_ServiceLevelTarget[Value])

If I answered your question, please mark my post as solution, Appreciate your Kudos!

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

1 REPLY 1
Idrissshatila
Super User
Super User

Hello,

You could try this

Measure = IF(MIN('Date'[Date] = BLANK(),smax_ServiceLevelTarget[Value])

If I answered your question, please mark my post as solution, Appreciate your Kudos!

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.