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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.