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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
NickKramerGU
Regular Visitor

ISNOT LOOKUPVALUE

Hi,

 

Can you also use an "IS NOT" function for LOOKUPVALUE? I am trying to return a value when the status in the column is not matching the input. See the example: 

 

Values present in Column2

Active

Paused

Stopped

 

LOOKUPVALUE(TableA[Column1], TableA[Column2], ISNOT"Stopped")

 

But this is not working because the ISNOT is obviously not a function but also <> or ! is not helping. 

 

Any suggestions?

 

Thanks in advance. 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @NickKramerGU 

Thanks for reaching out to us.

 

You can try the function Related(),

e.g.

FILTER( 'InternetSales_USD', RELATED('SalesTerritory'[SalesTerritoryCountry])<>"United States")
FILTER('InternetSales_USD'
, 'InternetSales_USD'[SalesTerritoryKey]<>1 && 'InternetSales_USD'[SalesTerritoryKey]<>2 && 'InternetSales_USD'[SalesTerritoryKey]<>3 && 'InternetSales_USD'[SalesTerritoryKey]<>4 && 'InternetSales_USD'[SalesTerritoryKey]<>5)

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xiaotang
Community Support
Community Support

Hi @NickKramerGU 

Hope you are doing well.

Can we close this thread now if there is no other question? It would be nice if you can accpet my answer as the solution. Thanks 🙂

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

v-xiaotang
Community Support
Community Support

Hi @NickKramerGU 

Thanks for reaching out to us.

 

You can try the function Related(),

e.g.

FILTER( 'InternetSales_USD', RELATED('SalesTerritory'[SalesTerritoryCountry])<>"United States")
FILTER('InternetSales_USD'
, 'InternetSales_USD'[SalesTerritoryKey]<>1 && 'InternetSales_USD'[SalesTerritoryKey]<>2 && 'InternetSales_USD'[SalesTerritoryKey]<>3 && 'InternetSales_USD'[SalesTerritoryKey]<>4 && 'InternetSales_USD'[SalesTerritoryKey]<>5)

 

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@NickKramerGU , Try like a new column like

maxx(filter(TableA, TableA[Column2] <> "Stopped") ,TableA[Column1])

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

Hi Amit,

 

Don't think this is what I need. Perhaps I need to be more precise. I am using LOOKUPVALUE filtering on multiple columns like below:

 

NewColumn= LOOKUPVALUE(TableA[Column3], TableA[Column1], TableB[ColumnS], TableA[Column2], <> "Stopped")
 
But the function does not allow <>
 
Thanks for your help

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.