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 everyone,
My primary data table comes from a Stored Procedure which uses parameters from PowerBI where:
How can I pass both parameters, the one from my view (could select multiple values which are the result of the view) and the one the user picks (he can enter one date value here), which the users are using, to this last stored procedure in POwerBI? Privacy is important here, so I can't ignore the privacy levels.
Thanks
Solved! Go to Solution.
must be filtered before for the business user to pass this parameters into the stored procedure.
That won't work anyway unless you are accessing the SP via Direct Query and use Value.NativeQuery with enforced folding.
Behind the scenes of the Data Privacy Firewall - Power Query | Microsoft Learn
put everything in the same partition.
Thanks for your reply! It makes sense to me but I can't see how can I solve it (without disablinythe firewall) because :
The problem here is that I can't put everything into one M query because information from two partitions (the two queries) must be filtered before for the business user to pass this parameters into the stored procedure.
Thanks
must be filtered before for the business user to pass this parameters into the stored procedure.
That won't work anyway unless you are accessing the SP via Direct Query and use Value.NativeQuery with enforced folding.
Thanks! @lbendlin I did it this way, and it worked. The folding is to make the queries faster, right?
Technically it pushes the work back into the data source. If that makes it faster or not depends on the data source performance. Usually you are right, it will be faster.
Do you mean something like this https://powerusers.microsoft.com/t5/Power-Query/Getting-data-from-stored-procedure-into-power-bi-nat...?
Call the SP using value.nativequery instead normal mode?
Thanks
Yes. Are you using a Direct Query connection?
Yes, I'm using Direct Query and passing the arguments directly through it.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |