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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
swebb
Helper II
Helper II

Need help removing rows with certain date

All,

 

I have a "createdon" column from a table imported via a Data Flows from CRM. I need all rows dated prior to 1/1/2022 removed. I believe doing this in Power Query would be the easiest, as there are several thousand rows to remove. I'm struggling trying to get the correct syntax to do this. From what I have found and read, it seems like the answer is to create an additional table. I would really like to avoid that if possible, as I already have a report built, but have been tasked with adding new requirements. Thoughts on best approach?

1 REPLY 1
m_alireza
Solution Specialist
Solution Specialist

Hi @swebb ,

You can open Power Query editor, click on down arrow next to the createdon column > Date Filters > After 

Then in the pop up box, you can select to keep rows where your createdon column is after or equal to  1/1/2022

m_alireza_0-1676340940724.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors