Forum Discussion
Change Published report data's Dynamically
- 9 years ago
Hi Krunalbpatel,
If you are satisfied with the answer, would you please mark the helpful reply as an answer, so that we can close this thread?
Best Regards,
Qiuyun Yu
Krunalbpatel You can explore the possibility of using power bi rest apis using which you maybe able to to change dataset connection strings.
Other option i can think of is if your data source is sql server then write sql query to import data from both the database. For example
Select *, 'Prd' as [database] from table1
union
Select *, 'QA' as [database] from table2
Then use slicer to differentiate on data between two databases. When published to power bi service this will work.
ankitpatira No I think the option provide by you Is not my solution, can you please provide basic ideas related rest APIs or Any reference link to me?
- BhaveshPatel9 years agoSuper User
Hi Krunal,
This is something I would call dynamic data source. This blog post from Matt Allington would guide you to create solution based on parameter tables.
Please refer to this blog post:
http://www.powerpivotpro.com/2015/10/share-and-refresh-power-query-with-local-links/
Thanks & Regards,
Bhavesh