Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a PowerBI semantic model that needs to use someone else's credentials.
The Power Query looks in a SharePoint folder for XLSX spreadsheets and filters by certain criteria. It then extracts from each of them the table called '_Hours'. The data within the table is a timesheet for hours worked. The filtering by file names should select only spreadsheets that include the table.
My work user account permissions can see only one sub-folder (allocated to me). When used in PowerBI Desktop or published to my Workspace, with my credentials the Power Query works, collecting the _Hours tables from each of my spreadsheets only.
Our business manager, however, has access to see everyone's sub-folders. So I thought that by changing the credentials to her work login details, the Power Query would see everyone's spreadsheets, and collect the _Hours table from them all. It seems to accept her credentials.
But it fails to refresh the Power Query in my Workspace with her credentials, and I get this error message:
I had thought the implication was Power Query was finding one or more spreadsheets that did not contain the table '_Hours.' However, I've played with the filtering criteria to ensure that isn't the case.
Any ideas, please?
I haven't yet overcome this.
An indivudal of the team 'shared' a specific spreadsheet from their folder with me as 'read only' - which permitted me to access it, but it didn't retrieve all the data (I suspect because it couldn't recalculate the cell formulae). When he then gave me 'edit' and 'execute' and 'delete' rights, it was able to retrieve all the data.
Still trying.
Hi @dave_cousins,
Thank you for providing additional details about your issue. It appears that the problem is related to access permissions and formula recalculation in the Excel files. Let's address this step by step to resolve it.
I am pleased to hear that granting "edit," "execute," and "delete" rights resolved the issue for the specific spreadsheet shared with you. This indicates that insufficient permissions were likely the root cause. To apply this solution to all spreadsheets within the sub-folders, here’s what you can do:
If this post helps you, please mark it as the solution and give a kudos so that other members of the community can easily find it helpful.
Hi @dave_cousins,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @dave_cousins,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Thanks for reaching out to the Microsoft Forum community.
It appears that you are experiencing an error when attempting to refresh your Power Query in Power BI using your business manager's credentials. This issue seems to arise from Power Query being unable to locate the '_Hours' table in one or more Excel spreadsheets stored in a SharePoint folder. Please follow these troubleshooting steps to help resolve the issue:
If this post helps, please give us Kudos and consider accepting it as a solution to help other members find it more quickly.
Thank you.
Hi @dave_cousins That error message is never very helpful 🙂
What I would suggest is using the maanger's credential in Power BI desktop and making sure the data loads in Power Query and each step of the query works.
User | Count |
---|---|
39 | |
10 | |
4 | |
3 | |
2 |
User | Count |
---|---|
48 | |
16 | |
7 | |
6 | |
5 |