Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi Team,
I have a stored procedure with Temp table's while calling this procedure using openrowset in power bi ,it's not working and displaying warning like temp table's can not use like that'.
But as per our requirement defintely need to use temp tables and passing parameters to that procedure while fetching data to power bi because of huge data.
one more point i need help how to change or pass dynamically parameters to stored procedure using power bi without manual edit query option.
Can any one please help on above scenario how to resolve this in power bi using temp tables with direct query option.
Hi @pavan1,
1. Why not executing the stored procedure directly?
exec has_parameter 5;
2. We can use the Parameters of Power BI to pass the dynamical parameters.
let num = @wod, // wod is a parameter. Source = Sql.Database("dale2016", "fortest", [Query="exec has_parameter " & Text.From(num) & ";"]) in Source
Best Regards,
Dale
HI Dale,
Thanks for your reply,can you send with pics sample example so that i can get clarity.
Hi @pavan1,
I had a image in my last post. What pics do you expect?
Best Regards,
Dale
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
111 | |
104 | |
103 | |
87 | |
61 |
User | Count |
---|---|
162 | |
132 | |
131 | |
95 | |
86 |