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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SimuQuery
Frequent Visitor

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 @SimuQuery , 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
Super User
Super User

Hi @SimuQuery, 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 @SimuQuery , 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 @SimuQuery , 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 @SimuQuery , 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.