The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
can we add more connection attributes such as adding ApplicationName in Connection string
Solved! Go to Solution.
@PBIDev wrote:
Thank you. WE are using SSAS with import mode , and we want to change in Power BI dashboard connections.
The approach only works in SQL Server database in DirectQuery mode. For SSAS, as far as I know, it is not possible.
@PBIDev wrote:
Hi,
can we add more connection attributes such as adding ApplicationName in Connection string
Are you talking about the REST API Set All Connections? If so, you keep in mind that it only works for datasets in direct query mode.
For SQL Server, by default the connection strings are like
data source=servername;initial catalog=dbname;persist security info=False
As per my test, you can update the connection string with Application name
data source=servername;initial catalog=dbname;Application Name=MyAppName;persist security info=True
Then the updated connection string actually works if I observe the connections from SQL Server with SP_WHO2.
Thank you. WE are using SSAS with import mode , and we want to change in Power BI dashboard connections.
User | Count |
---|---|
8 | |
5 | |
5 | |
4 | |
2 |
User | Count |
---|---|
10 | |
9 | |
7 | |
7 | |
6 |