Mar 31 2020 02:32 AM
Hi
Most of the data is held in an IBM iSeries database and the company stipulated the user 'application' had to be in Excel. Five tables are the source for a load of formula lookups. The workbook is a macro enabled template residing in Sharepoint to allow a restricted group of users access.
Because of the auto refresh options in the service, ideally, I would have used PowerQuery in Power BI to pull, shape and publish the data but unfortunately (to the best of my knowledge) you are limited to the data via pivot instead of an Excel table.
So I have ended up using PQ in Excel to pull, shape and present the tables in an Excel workbook and for performance from a user perspective loading THAT into the final application for the lookups.
I essentially have the front end doing all that was required but I am left manually refreshing the queries daily. I have looked at a batch file/vb script to auto-refresh but am struggling to get this working on a server where no one is logged on.
I can't help feeling there is a better way or is my use case unique and struggles unique?
Any advice would be greatly accepted.
Cheers
Oli
Apr 03 2020 11:20 AM
SolutionOli, you may return tables as well. But yes, you have to have data model.
- load data to data model;
- at least one dummy table load to the sheet as well
- create linkback table in the sheet (Data->Existing Connections->Select any table->right click->Edit table connection->edit DAX->add DAX expression which forma the table)
- keep Excel file on any Sharepoint site or on OneDrive available for end users
- connect this file to any Power BI workspace (not import, connect) and setup scheduled refresh
Apr 03 2020 11:20 AM
SolutionOli, you may return tables as well. But yes, you have to have data model.
- load data to data model;
- at least one dummy table load to the sheet as well
- create linkback table in the sheet (Data->Existing Connections->Select any table->right click->Edit table connection->edit DAX->add DAX expression which forma the table)
- keep Excel file on any Sharepoint site or on OneDrive available for end users
- connect this file to any Power BI workspace (not import, connect) and setup scheduled refresh