The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I am experiencing two different errors while using direct query method in power bi desktop for same visual. same works in app.powerbi.com.
Please provide your suggestion what may causing these issues. Is this due to my internal network error?.
Solved! Go to Solution.
For timeout error, you may have to try different duration to test the connection timeout. See details here - https://docs.microsoft.com/en-us/powerquery-m/sql-database
Example:
Source = Sql.Database("Servername", "tablename", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])
or
Source = Sql.Databases("Servername", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
For timeout error, you may have to try different duration to test the connection timeout. See details here - https://docs.microsoft.com/en-us/powerquery-m/sql-database
Example:
Source = Sql.Database("Servername", "tablename", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])
or
Source = Sql.Databases("Servername", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi @ArulKannan ,
If you are trying to connect to a database like SQL Server using Directquery mode, try adding something to your time-out area like 120. This sould help with the timeout issue.
Thanks,
Pragati
Hi @ArulKannan ,
What is the value in this card visual?
Is there a calculation that you are using? If yes can you share what calculation it is?
Thanks.
Pragati
@ArulKannan Difficult to say. I have seen issues like this that are solved by closing all copies of Desktop locally and then reopening. Otherwise, You could check the Issues forum here:
https://community.powerbi.com/t5/Issues/idb-p/Issues
And if it is not there, then you could post it.
If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".
@ArulKannan , Are you using cloud database, which you have access to on power bi service and not on desktop?
What is a database and how are you connected with it.
@amitchandak I am using sql server database, its not working properly with desktop direct query mode. same works fine after I published and using that in app.powerbi.com
User | Count |
---|---|
87 | |
84 | |
36 | |
35 | |
32 |
User | Count |
---|---|
96 | |
75 | |
67 | |
52 | |
52 |