Forum Discussion

kteja's avatar
kteja
Regular Visitor
1 year ago
Solved

Looking for Solutions: Date Filter Not Functioning with M Query Parameter

Hi Fabric Community, I’ve recently set up an M Query Parameter in Power BI with Snowflake as my database, using Direct Query mode. My requirement is to create a date filter where users can select a ...
  • Shahid12523's avatar
    1 year ago

    Problem: M Query Parameters in DirectQuery filter data before it reaches Power BI, so standard slicers or DAX columns won’t work properly.

     

    Solutions:

     

    Separate Date Table + Relationship – Use a Date table not bound to the parameter; slicer filters fact table via relationship.

    Start/End Date Parameters – Fetch only a date range via two parameters; users select dates via parameter UI.

    Load All Dates – If dataset is small, remove parameter and use normal slicer.

    Searchable Date Dropdown – Create a distinct date lookup table; use a slicer with search enabled for user-friendly selection.

     

    Recommended: Use parameter to limit range + separate searchable Date table for efficient filtering.