Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

could not load data for this visual

  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...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Anonymous 

    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.