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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
cmhhd
New Member

Comma and Colon

I opened a Power BI desktop dashboard with connections to an SQL server that used a comma to specify port number.

 

Information icon indicates to use a colonInformation icon indicates to use a colonThis is the logon error I receivedThis is the logon error I received

I was receiving a logon error; encryption was already disabled in the data source settings. I switched from commas to a colons and no longer recieved the logon error. 

 

I tried switching back to commas and the error comes back. Did something change where we can't use commas anymore?

4 REPLIES 4
Hllo3
Regular Visitor

This is one of the most absurd bugs of Power BI.  The PBI desktop version accepts ":" while the gateway only accepts ",". I was wondering if PBI dev team even use their own product.

 

The only possible workaround to this issue is going to Data source setting > Edit Permissions.  Then switch the ccredentials/permission of your SQL server data source from Microsoft account to Windows. Then you are probably be able to use comma in your server with the Windows permission. At least that works for me.  

 

Anonymous
Not applicable

I am trying to connect to a SQL DB and the desktop version of PBI has a strange issue for me whereby if I use a "," (comma) in the connection string it throws an error (as per original post) whereas if I use a ":" (colon) it works just fine.  The challenge is that the gateway requires a "," (comma) in the connection string to the SQL Server else it fails.

 

I can see the person who posted this had the same problem but does anyone know if there is a simple fix as I can't apply the query with a "," as it fails and then I'm stuck!

amitchandak
Super User
Super User

@cmhhd , it is suggesting : . have you tried with colon ?

Check port no

and also refer

https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-encrypted-connections-...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes, I tried a comma (,) and the login error returned. I have to use a colon (:) for the connection to work. I can use a comma when connecting to the database via SQL Server Management Studio (SSMS). I'm just perplexed as to why a comma is not working. I though that was standard with SQL connections.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors