Forum Discussion
TheracPowBi
4 years agoFrequent Visitor
Use filters after user connection with PowerBi
Hi everybody, I have an ASP.NET app in C#. When I launch it, a website is opened with a login page. I want that, when a user enter his username and password and click on the "connection" Button", ...
v-janeyg-msft
Community Support
4 years agoHi, TheracPowBi
I'm not good at javascript, but I think if you can make the value in'values' match the user name that logs in to the program, It is possible to achieve.
Best Regards,
Community Support Team _ Janey
TheracPowBi
4 years agoFrequent Visitor
Ok, I will try that.
I just have to know where to put the typescript and javascript codes in my program.
Do you have an idea on where to put them ?
Thanks.
- v-janeyg-msft4 years ago
Community Support
The Power BI JavaScript support set filter when embedding. Check this:
Solved: how to create custom filters for power bi embedded... - Microsoft Power BI Community
Power BI - Sample - Client - JavaScript (microsoft.github.io)
Best Regards,Community Support Team _ Janey