cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AmrutaKar
Frequent Visitor

Execute a query against all the rows of a table in sql

Hi

I have a table in SQL that stores all my server names. I want to create a server dashboard that gives me realtime results. So i need to run the server queries against all the rows in the SQL table..

For eg  the sql table has

id     serveranme

1      abc

2      def

 

i need to run  select @@version  against abc and def to get the  sql version and display it in my  Power BI report. How can i achieve this?

 

Thanks

Amruta

Thanks

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @AmrutaKar ,

 

Direct query maybe a work around.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
az38
Super User II
Super User II

Hi @AmrutaKar 

i just want to notice that power BI as any other BI tool is not the good solution for any real-time monitoring from my experience


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power BI User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors