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

Direct Query Based On User Input

Hello!

I am relatively new to Power BI and have not had any major difficulties so far except for the usage of Direct Query. I have a very big table that I import from Denodo and want the user to be able to input the phone number for example in some kind of text filter box or slicer and have that trigger a direct query to fetch the data that are only relevant to that input (Where phone_number = input) and the data has to be live up to date data. When I search on the possiblity of doing that all results refer back to dynamic m query which I have tried but data and visuals keep loading until it times out so I was thinking maybe that is not the ideal way to go about it. I just need to know if achieving such a thing is possible and what are my options. Thank you!

1 ACCEPTED SOLUTION
Deku
Super User
Super User

Please see blog post on pass arbitrary values through dynamic M parameter

 

https://blog.crossjoin.co.uk/2023/01/29/passing-any-arbitrary-value-from-a-power-bi-report-to-a-dyna...

 

Think this is your only option. Just need the source to optimized for the queries 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

3 REPLIES 3
Deku
Super User
Super User

Please see blog post on pass arbitrary values through dynamic M parameter

 

https://blog.crossjoin.co.uk/2023/01/29/passing-any-arbitrary-value-from-a-power-bi-report-to-a-dyna...

 

Think this is your only option. Just need the source to optimized for the queries 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
Anonymous
Not applicable

Hello @Deku 

Thank you for the reply!

I followed the tutorial you provided but cannot create a blank query for the dummy table... I get the following pop-up message:  

imbetto_0-1742806807397.png

I am using Denodo and it worked when i chose direct query for my table but not for the blank query... any idea if there is another way for that part? 

As you can see in Chris's blog, the dummy table is in import modem. The table to be filtered is in DQ

 

Deku_0-1742810081842.png

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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.