# PowerBI - column not in rowset

**URL:** <https://community.hubspot.com/t/powerbi-column-not-in-rowset/80349>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [May 1, 2023, 8:44pm UTC](https://community.hubspot.com/t/powerbi-column-not-in-rowset/80349 "2023-05-01T20:44:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMelbourne](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/amelbourne/32/86357_2.png) [@AMelbourne](https://community.hubspot.com/u/AMelbourne)\
**Post date:** [May 1, 2023, 8:44pm UTC](https://community.hubspot.com/t/powerbi-column-not-in-rowset/80349/1 "2023-05-01T20:44:32Z")

</div>

Hi For the past week a link to PowerBI that has worked for months is failing due to:

| The ‘hs\_all\_assigned\_business\_unit\_ids’ column does not exist in the rowset. |
| --- |

would the field name have changed on HS side?

No changes have been made to the PowerBI or in the clients HS that would seem to cause this.

Thanks for any input

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [May 2, 2023, 4:22pm UTC](https://community.hubspot.com/t/powerbi-column-not-in-rowset/80349/2 "2023-05-02T16:22:38Z")

</div>

Hi, @AMelbourne 👋 Thanks for reaching out. To your question, the label, and internal value for this property have not changed or updated. Two quick ways to verify this are:

- Settings \> Properties \> Contacts (for example) and search for Business Units

 ![CleanShot 2023-05-02 at 10.15.42.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/d/dd61a2944f4a4b601357f9ef8878542afa4cbedd.png)

- The Properties API (using the Contacts object as an example)

Question:

- Did anything change with your client’s subscription? I ask because you used the Professional tag, but this is a feature available to Enterprise subscriptions.

If not, I’d suggest they file a ticket with support and specifically inquire about having challenges with this property. Support cannot help with 3rd party tools, but they can provide insight into a specific portal, and it’s available properties in a way the community, and I, cannot.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![J\_Souza](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@J\_Souza](https://community.hubspot.com/u/J_Souza)\
**Post date:** [May 11, 2023, 2:10pm UTC](https://community.hubspot.com/t/powerbi-column-not-in-rowset/80349/3 "2023-05-11T14:10:18Z")

</div>

Hi,

I was running into the same issue. After doing some research and trouble shooting, what ended up working for me is adding a ‘hs\_all\_assigned\_business\_unit\_ids’ custom column with null values to the affected tables in my data set.

Something is not allowing that column to flow through to Power BI anymore (whether it was actually removed, there’s an issue with the API, the Hubspot connector app, etc) and Power BI keeps looking for it (whether it’s because you have a remove column: ‘hs\_all\_assigned\_business\_unit\_ids’ somewhere in your code OR Power BI service’s cache still thinks it’s there, etc).

> **[The 'HasUniqueRoleAssignments' column does not exist in the rowset.](https://community.fabric.microsoft.com/t5/Service/The-HasUniqueRoleAssignments-column-does-not-exist-in-the-rowset/td-p/174257)**
>
> Hi All,   I have a report that is developed in the Desktop Version of Power BI. It houses data that is retrieved from a SharePoint list. When I refresh this report in the Desktop Version, I receive no error.   However, when I published this Desktop...

> **[The column does not exist in the rowset](https://community.fabric.microsoft.com/t5/Service/The-column-does-not-exist-in-the-rowset/td-p/327629)**
>
> Bit of a Newbie... I'm using PowerBI with a SharePoint List.  The Report has been wokring fine for a while until I deleted a redundant column from the SharePoint List.  Now I get the error "The column does not exist in the rowset.  Table:  ".  I've...

---

<div class="post-metadata">

**Author:** ![AMelbourne](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/amelbourne/32/86357_2.png) [@AMelbourne](https://community.hubspot.com/u/AMelbourne)\
**Post date:** [May 11, 2023, 2:42pm UTC](https://community.hubspot.com/t/powerbi-column-not-in-rowset/80349/4 "2023-05-11T14:42:27Z")

</div>

Hi Yes When I asked the technical department they say they haven’t made changes but they have introduced a new Business Units API this past March which now exposes business unit data, which in turn might have required them to add the business\_units\_view.read permission to the oauth scope.

Their [OAUTH documentation](https://developers.hubspot.com/docs/api/working-with-oauth) makes no mention of the business\_units\_view.read permission, so the permission maybe new and might be required for the business units api, and potentially for other apis that expose business unit related fields _but_ if you don’t have business units set up you cannot select the scope to enable it.  
In the end I just excluded that field from the api request by filtering it out from the table of properties collected from Hubspot, using the applied step below, before making the data request using all the other properties.

= Table.SelectRows(#“Your table name”, each [name] \<\> “hs\_all\_assigned\_business\_unit\_ids”)
