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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
dshah12
Helper II
Helper II

Filter from multiple columns

I have this kind of table and I want to apply specific condition for program name ="abc" that if should have just the data of 2023 from "created on" but the rest of data should remain intact 

program namecreated onshort name
xyz2023d
abc2022sx
abc2023rf
wed2022f
1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @dshah12 ,

 

Filter your table on anything, just to get the Table.SelectRows code populated in your formula bar. For example:

 

BA_Pete_0-1682438883526.png

 

Now edit the code directly in the formula bar to this:

 

BA_Pete_1-1682438932126.png

 

Pete

 



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

5 REPLIES 5
BA_Pete
Super User
Super User

Hi @dshah12 ,

 

Filter your table on anything, just to get the Table.SelectRows code populated in your formula bar. For example:

 

BA_Pete_0-1682438883526.png

 

Now edit the code directly in the formula bar to this:

 

BA_Pete_1-1682438932126.png

 

Pete

 



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Thanks a lot for quick response but when I apply to similar other I donot get any data

= Table.SelectRows(#"Changed Type", each not ([Program Short Name] ="IF" and DateTime.Date([Created On])< #date(2022, 9, 1)))

Hi @dshah12 ,

 

The principle should work the same.

 

Is this the correct reference for your previous query step?

 

BA_Pete_0-1682488401632.png

 

If that's not the issue, then you may need to provide some more example data that represents this new scenario.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Good morning!

 

I watch that in your Created in column, only the year appears, but in the condition that you enter it is as a date. Could that be the mistake?

The condition I applied to different table which was similar here I wanted all IF programs after 1 Sep 2022 

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.