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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
vsslasd1
Helper III
Helper III

LookupValue with a not equal to

Hello, 

I am trying to get a DAX variable to get the minimum value similar to the following:

 

var min_date=LOOKUPVALUE('WIP-ALL'[Period],[Period],"Current", Min('WIP-ALL'[Period]))
 
But instead of Period=Current we need anything except for "current"

What formula do I need to use to get the minimum value of "Period" in the above statement where Period<>"current.
 
1 ACCEPTED SOLUTION
vsslasd1
Helper III
Helper III

var min_date = Minx(Filter('WIP-ALL','WIP-ALL'[Period]<>"Current"),DateValue('WIP-ALL'[Period]))

View solution in original post

1 REPLY 1
vsslasd1
Helper III
Helper III

var min_date = Minx(Filter('WIP-ALL','WIP-ALL'[Period]<>"Current"),DateValue('WIP-ALL'[Period]))

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.