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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Filter by Not In State

Hi,

 

I wonering how I can filter for items not in a given state. Any ideas please let me know. 

 

Thanks

1 ACCEPTED SOLUTION
Omid_Motamedise
Super User
Super User

Pkease provide the sample data for your question and explain it based on the ddata


If my answer helped solve your issue, please consider marking it as the accepted solution.

View solution in original post

7 REPLIES 7
v-hashadapu
Community Support
Community Support

Hi @Anonymous , Thank you for reaching out to the Microsoft Community Forum.

Please let us know if your issue is solved. If it is, consider marking the answer that helped 'Accept as Solution', so others with similar queries can find it easily. If not, please share the details.
Thank you.

dufoq3
Community Champion
Community Champion

Hi @Anonymous, what about this:

 

Before

dufoq3_0-1740142758934.png

 

After (excluded 1st floor and 2nd floor)

dufoq3_1-1740142788860.png

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUXIvyi/NS1FIy8nPL1KK1YlWcgIKGhaXIIk4A0WMUNS4AEWMi5BFXIEiJiUZSCJu2Ax3xzDcA8NwTwzDvVANjwUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t, State = _t]),
    FIlteredOut1stAnd2nd = Table.SelectRows(Source, each not List.Contains({"1st floor", "2nd floor"}, [State]))
in
    FIlteredOut1stAnd2nd

Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

v-hashadapu
Community Support
Community Support

Hi @Anonymous , could you please share more details with us to help solve your issue. If it is already solved, please share the answer here and mark it 'Accept as Solution', so others with similar queries may find it easily.
Thank you.

v-hashadapu
Community Support
Community Support

Hi @Anonymous , Please let us know if your issue is solved. If it did, please share the details here and mark it 'Accept as solution' to assist others with similar problems. If it did not, please provide further details.
Thank you.

v-hashadapu
Community Support
Community Support

Hi @Anonymous , Could you please share more details that will better discribe your issue, for us to help you solve it.

Thank you.

Omid_Motamedise
Super User
Super User

Pkease provide the sample data for your question and explain it based on the ddata


If my answer helped solve your issue, please consider marking it as the accepted solution.
ZhangKun
Super User
Super User

You should describe the problem more accurately so that we can give you more valuable suggestions.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.