Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello,
I need to build some reports with Direct Query and pass some parameter to the query.
I'm using Power Bi Desktop (Report Server) and I don't see any solution to bind the parameter to a slicer (No option available in the parameter setting or in the advanced properties of a table field).
I don't know if I'm doing something wrong but it looks like the parameters cannot be used on Report Server.
If it so, is there another way to run direct queries with filters and show data in a simple visual?
Thanks
Solved! Go to Solution.
Thankyou, @Jihwan_Kim, for your response.
Hi romina80,
Additionally, please refer to the links below:
Compare Power BI Report Server and the Power BI service - Power BI | Microsoft Learn
DirectQuery in Power BI: When to Use, Limitations, Alternatives - Power BI | Microsoft Learn
Thankyou, @Jihwan_Kim, for your response.
Hi romina80,
Additionally, please refer to the links below:
Compare Power BI Report Server and the Power BI service - Power BI | Microsoft Learn
DirectQuery in Power BI: When to Use, Limitations, Alternatives - Power BI | Microsoft Learn
Hi,
I am not sure if I understood your question correctly, but please try loading two tables into the report.
And then, based on the selection from the slicer on the report, different result can be shown.
Please check the below picture and the attached pbix file. I tried to create a sample pbix file like below.
It is not direct query mode, but I hope you can get the point. Or, please let me know if I missunderstood.
Thank you.
In this sample, I tried to use field parameter feature in Power BI.
Use report readers to change visuals - Power BI | Microsoft Learn
Hi @Jihwan_Kim ,
I think I found what is the real issue with my model.
I followed the steps in this topisc: desktop-dynamic-m-query-parameters
When I try to bind the startdate field to the parameter I don't have the option 'Bind to parameter' that should be available in the Advanced option of the field.
Thanks
Hi @Jihwan_Kim ,
thansk for your feedback.
Unfortunately I'm not able to open your file because I receive this message: 'Report contains enhanced report format (PBIR). Please make sure the PBIR preview feature "Store reports using PBIR format" is enabled and try again.'
I checked in the 'Options and Settings' but I don't find the 'Preview features' option to enable that.
I'm using Power Bi Report Server Desktop (version 2.138.2255.0 64-bit (January 2025))
Regards