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
Anonymous
Not applicable

No Option to Select Parameters when Applying a Filter to Datasets

Hello,

 

I recentlly wanted to implement a template that would rely on paramaters. There are quite a few resources (1, 2, 3) over the web that have great examples besides the official announcement back in May 2016.  Although creating connection string parameters works perfectly, I cannot seem to apply a filter on the rows where I should be able to choose the paramaters for the filter value. The screenshot below shows an example what I see. 2019-01-24 13_18_26-.png

Every example I have found on the web shows an additional button to be able to choose the parameters. I have found only one post here on the forums that mentions a similar problem to my case but the replies to that post do not touch on that particular part of the question.

 

Does anyone have any suggestions? Thank you.

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello Maggie,

 

Thanks for your reply. I finally got to the bottom of the problem.

 

It seems like the parameter format/type has to match the column format exactly. So, in my case, I imported a table from SQL Server using a stored procedure and hence date column came through in datetime format i.e. yyyy-mm-dd hh:mm:ss. However, parameter type was set to date. When I changed the parameter type to date/time everything started to work.

 

Hopefully, this will help others as well if they come across with a similar issue.

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

When i test with a simple dataset, i can apply parameter correctly.

dataset:

1.png

parameter1

2.png

parameter2

3.png

Apply parameter

4.png

Could you show some screenshots of your columns and parameters?

 

Best Regards

Maggie

 

Anonymous
Not applicable

Hello Maggie,

 

Thanks for your reply. I finally got to the bottom of the problem.

 

It seems like the parameter format/type has to match the column format exactly. So, in my case, I imported a table from SQL Server using a stored procedure and hence date column came through in datetime format i.e. yyyy-mm-dd hh:mm:ss. However, parameter type was set to date. When I changed the parameter type to date/time everything started to work.

 

Hopefully, this will help others as well if they come across with a similar issue.

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.