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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Imagauthamam
Helper III
Helper III

Getting User input and filtering the data using Dynamic M query Parameter

I have a requirement wherein I have to get a user input and that value should be filtered in a column so that it filters the whole table and gives a summary of the total number of cases by that User Input.

Let me give an example.

 

Consider I have the below data:

 

Screenshot 2023-10-17 103109.png

 

 


Then I have to give a search bar like the below and let's say the user types "Access", then I should get the below output:

 

Screenshot 2023-10-17 103733.png

 


It should take that user input and filter the description column using that word.
Then it should group by the day level and give the total number of cases which contains that keyword.


What I thought was there must be some way in which we can get the user input and stored in a parameter and then using Dynamic M query I can filter out the table using any keyword that user inputs and give them the total cases by day level for that Case.
But how do I take the user input and pass it into a parameter? I'm not sure. 
Any help would be much appreciated!!!

1 ACCEPTED SOLUTION
dk_dk
Super User
Super User

Hi @Imagauthamam ,

Would it work that you simply create a table with the date and Description count measure, and then add a filter on the description field to the filter pane and set it to Advanced filtering with a contains condition like so:

dk_dk_0-1697626482873.png

Alternatively. the Text filter custom visual from Microsoft also should work, and that you can place on the canvas as a slicer. Maybe better user experience than the filter pane?

dk_dk_1-1697626680652.png

I hope this helps 🙂




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Imagauthamam
Helper III
Helper III

Thanks @dk_dk for the suggestion.

dk_dk
Super User
Super User

Hi @Imagauthamam ,

Would it work that you simply create a table with the date and Description count measure, and then add a filter on the description field to the filter pane and set it to Advanced filtering with a contains condition like so:

dk_dk_0-1697626482873.png

Alternatively. the Text filter custom visual from Microsoft also should work, and that you can place on the canvas as a slicer. Maybe better user experience than the filter pane?

dk_dk_1-1697626680652.png

I hope this helps 🙂




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.