Send Users the Result of a Query

I do the bulk of the BI work for a company that uses Qlikview. We do our fair share of dashboards and other visualizations, but there are a lot of straight-table type-reports that I think that the tool is overkill for.

When someone comes to me with a report request, and I can write it out as a query against our MSSQL server, what's the best low-overhead way for them to get the results of that query in excel format on a regular basis? Am I describing SSRS or is there some lower-level option that I'm not thinking of?

Posted Jun 20, 2017, 2:43 PM UTC

24
CleverNoveltyName•

Write a view in SQL and have them connect to it in Excel. I have done this before and it works well for some use cases/users. You can even take the excel file and add a second sheet that references the data sheet so the report can be formatted.

4
TurtleInATracksuit•

You can embed the SQL in the Excel file as a data connection. If its production server, make sure you're ok with the users having access to it, or limit them by creating a view.

2
kurenai86•

I don't know what position you are in. But the first thing I suggest doing is finding out why someone needs to see the numbers.

It can be a hard journey to take organisations through recognising the merits of visual analytics due to stubbornness and just being used to a particular way. A simple side by side comparison asking something like "find ABC" should do the trick.

If you get some answer like "I need to do some advanced analytics that I can't do in Qlik/tablueau/powerbi". Ask them if they are going to do some data mining/modelling or something like that. If they say no or don't know what that is, slap them. If they say yes, then maybe you should like into provided them with some sort of direct access to the DB for their tool of choice.

That being said, most tools can export CSV. If they don't have access to a tool. Every ETL program on earth can do it. If you don't have access to an ETL tool, most SQL languages allow you to export a query to CSV.

1
King112534•

I use a mix of MS Report Builder, Excel PowerPivot, or Excel Power Query for this type of more simplistic report. My personal favorite of the 3 is PowerPivot since it allows the user to filter through slicers and I can apply DAX measures for more complex KPIs. SSRS does allow you to set up email and mobile subscriptions that will provide the user with daily, weekly, or monthly CSV extracts of their requested report.

1