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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
darrenfishell
Advocate II
Advocate II

Bug when using field parameters to modify date fields in a "Before", "After" or "Between" slicer

I am attempting to use Field Parameters to handle a common scenario to allow users to toggle between date filters using the exact date and filtering to the period of a specific date. 

I have a workaround, but wanted to flag what I believe is a bug in the preview feature (which is otherwise great)! 

Here's the relevant portion of my data model: 

darrenfishell_0-1674594236679.png

I created this bridge table after getting an error I thought was caused by a Many-to-Many relationship from PERIOD_DATE[PERIOD_ID] -> 'DATE'[PERIOD_ID]. 

In my report, I've then configured a field parameter that toggles between 'DATE'[DATE] and PERIOD_DATE[DATE]. 

I would like to enable the slicer-to-slicer filtering, where one slicer selects the field used and the second slicer then displays the values of the selected field and allows the user to filter by the selected field. 

I am able to use this with a Relative Date filter with no issues, as follows: 

darrenfishell_1-1674594472066.png

I am hoping to set this slicer instead to be either a "Before" or "Between" filter selection, to meet my reporting requirements. When I try to change the slicer using field parameter fields to a "Before" filter, I get the following error message. 

darrenfishell_2-1674594668266.png

I believe that this filtering should work, given that the individual slicers using the relevant fields work as expected. 

1 REPLY 1
darrenfishell
Advocate II
Advocate II

I have found another issue I believe is related. I've changed the field parameter to instead toggle between 'DATE'[DATE] and 'DATE'[MONTH_START] and I am getting a slightly different issue when switching to either "Between", "Before" or "After" filters -- it displays the fields in a hierarchy, which is not present in the data model: 

darrenfishell_0-1674595759365.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.