Forum Discussion
Get value from C# app to Power BI Embedded
Thanks v-ljerr-msft for your answer but that's what I've just donde and it works perfectly. What I want now is to get the URL value into power BI and this way that I can execute an Stored Procedure to bring only the data that I want from SQL Server. I mean, for example, in my app I log in with a user that has as idFromURL = "USER1" and this id is right now being passed by url and is filtering all the data of all the users (because the database bring everything) by this id but if I can get this id into the moment that power bi goes to de DB and filter it by an SP (or something that just bring me the data respect that id). I expect something like this:
Sql.Database("server", "database", [Query="EXEC sp_BringDataByUserID @User = 'idFromURL' "])
Hope you can help me ! :D
I'm waiting for something new here :)