Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.