Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tnhurst57
New Member

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 2
Anonymous
Not 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.

Sahir_Maharaj
Super User
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.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution? (Yes, its FREE!)
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.