Forum Discussion
dscmd asking for server when connection string is provided
Attempting to connect to my Power BI dataset in a workspace. Docs say either provide connection string - or server/database. Here the dialog:
dscmd csv myfile.csv --connectionstring "Data Source=powerbi://api.powerbi.com/v1.0/myorg/IBCE
_Dev;Initial Catalog=IB Targeting Dashboard" -q "EVALUATE 'Master'"
Error: You must specify a Server option
2 Replies
- Sahir_Maharaj
Super User
Hello tnhurst57,
If dscmd is still requiring a server option despite the provided connection string, can you please try explicitly specifying the server and database separately:
dscmd csv myfile.csv --server "powerbi://api.powerbi.com/v1.0/myorg/IBCE_Dev" --database "IB Targeting Dashboard" -q "EVALUATE 'Master'"Hope this helps.
- AnonymousNot applicable
Hi tnhurst57 ,
Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!
Best Regards,
Clara Gong
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.