Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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 name | created on | short name |
| xyz | 2023 | d |
| abc | 2022 | sx |
| abc | 2023 | rf |
| wed | 2022 | f |
Solved! Go to Solution.
Hi @dshah12 ,
Filter your table on anything, just to get the Table.SelectRows code populated in your formula bar. For example:
Now edit the code directly in the formula bar to this:
Pete
Proud to be a Datanaut!
Hi @dshah12 ,
Filter your table on anything, just to get the Table.SelectRows code populated in your formula bar. For example:
Now edit the code directly in the formula bar to this:
Pete
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?
If that's not the issue, then you may need to provide some more example data that represents this new scenario.
Pete
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.