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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Walt1010
Helper V
Helper V

Data issue when filtering in PQ

In the Power Query editor, all the date fields show dates, until I filter by one of the staff names, in which case the dates all show as errors. Any ideas why that would be the case? 

1 ACCEPTED SOLUTION
Akash_Varuna
Super User
Super User

Hi @Walt1010 Could you check for any of these issues 

  • Check Data Types:
    Ensure the date column is set to Date type. Mixed types can cause errors.

  • Inspect Filtered Rows:
    Remove the filter and check rows for invalid or blank values in the date column.

  • Replace Errors:

    • Use Replace Errors to replace invalid values with null.
    • Or, use Remove Errors to exclude problematic rows.
  • Review Query Steps:
    Check APPLIED STEPS for transformations that might corrupt the date column.
    If this post helped please do give a kudos and accept this as a solution 
    Thanks In Advance

View solution in original post

1 REPLY 1
Akash_Varuna
Super User
Super User

Hi @Walt1010 Could you check for any of these issues 

  • Check Data Types:
    Ensure the date column is set to Date type. Mixed types can cause errors.

  • Inspect Filtered Rows:
    Remove the filter and check rows for invalid or blank values in the date column.

  • Replace Errors:

    • Use Replace Errors to replace invalid values with null.
    • Or, use Remove Errors to exclude problematic rows.
  • Review Query Steps:
    Check APPLIED STEPS for transformations that might corrupt the date column.
    If this post helped please do give a kudos and accept this as a solution 
    Thanks In Advance

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.