Forum Discussion
Direct Query & Paramters
Greg_Deckler - Thanks for your response however I don't think it will work in my situation.
The dashboard will be accessed by external companies and the token needs to be passed to the dashboard in the background as opposed to a slicer selection mentioned in your suggestion.
Incarnadine Not 100% on your situation but it sounds like you should be using RLS or that you should be using Power BI Embedded (A SKU's)
- Incarnadine5 years agoFrequent Visitor
Greg_Deckler - I'm using PBI Embedded. I had it all working fine using Import mode - issue was the dataset can't be refreshed simultaneously by multiple users. I was able to use the below query to pass the parameter through however this functionality doesn't seem to exist in Direct Query (Which would allow multiple users to refresh data simultaneously)
let
Source = Sql.Database("ServerName", "Databasename",
[Query="EXEC StoredProc "&Parameter])
in
Source- Greg_Deckler5 years agoCommunity Champion
Incarnadine Let me see who I can call in on this dm-p