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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
awtahhan
Regular Visitor

Query parameter not showing in Filter Rows window

Hi,

 

I created 2 query parameters RangeStart and RangeEnd but they are not showing in the Filter Rows window? any ideas why.

 

Screenshot for my Filter Rows window

https://ibb.co/Rz3kXML

 

Thanks in advance.

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

First check that you have set the data type for your parameters to Date.

If you still can't see them in the filter, then you can just pick a random date and manually edit the M code in the formula bar to replace the dates with RangeStart and RangeEnd.

Turn the formula bar on in the View tab in Power Query.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User
AllisonKennedy
Super User
Super User

First check that you have set the data type for your parameters to Date.

If you still can't see them in the filter, then you can just pick a random date and manually edit the M code in the formula bar to replace the dates with RangeStart and RangeEnd.

Turn the formula bar on in the View tab in Power Query.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Thanks for the quick reply,

 

yes the issue was in the data type, the data type of the column is date/time/zone type, while the query parameter type is date/time this is why it was not showing correctly.

 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors