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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
cbschley
Helper III
Helper III

Filter a Date/Time field by Parameter?

Hello!

 

I am trying to filter a Date/Time field by a Date/Time Parameter (for incremental refresh). I created the parameters for RangeStart and RangeEnd, but when I go into filter the table, I am unable to select the parameter from the menu. All of the dates are in Date/Time format.

 

In every video I've seen, other people have the ability to select "Parameter" from a drop-down in the Date Filters menu. That option is never presented to me. What am I doing wrong?

cbschley_0-1678225701365.png

cbschley_1-1678225747382.png

 

 

 

2 REPLIES 2
SLpang
Frequent Visitor

Hi @cbschley , 

I encountered similar issue as you earlier on, then I realized that the data type I set in the Parameter is not the same as the column field which I was about to apply filter. Once changing them to the same, you will be able to see the [Parameter] as a selection options when you try to filter the date.

 

Hope it helps.

 

Cheers,

SL

FreemanZ
Super User
Super User

hi @cbschley 

it seems you are setting a parameter in Power Query Editor but using it in Power BI Desktop. This won't work. Try to do both in Power Query Editor or Power BI Desktop.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.