title: PowerBi - This data source cannot be accessed by data gateway
body: <p>I tried to publish my report on dashboard. and I get this error</p>
  
  <pre><code>This data source cannot be accessed by data gateway.
  </code></pre>
  
  <p>I used direct query from my sql server. I downloaded and installed on-premise data gateway. </p>
  
  <p>When I go to Manage Gateway in Power BI service. It says you do not have any gateways.</p>
  
  <p>Not really sure as to what to do. </p>
  
  <p>Please someone guide me.</p>
  
  <p><a href="https://i.stack.imgur.com/ipc32.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ipc32.jpg" alt="This is the error that I get"></a></p>