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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.