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
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
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.

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.

Top Solution Authors