How to select a specific container in Azure Blob Storage using Power BI?

Julia 0 Reputation points
2023-09-06T12:40:55.4+00:00

Hi,

I am trying to connect data that is currently stored in a container in Azure Blob Storage to Power BI. However, using the in-build connector, I get multiple containers, which I do not need, and I am unable to navigate further through the sub-containers. I ideally would like to connect Power BI only to one specific container, which is located in one of the sub-containers.

Is there an "easy" way to force Power BI to navigate through several sub-containers [using Power Query maybe?] and then select 1 specific container from there?

Pleased to hear back from you soon.

Thank you a lot in advance.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramya Harinarthini_MSFT 5,366 Reputation points Microsoft Employee Moderator
    2023-09-07T14:59:45.1633333+00:00


    Julia
    • Apologies for the delay in response!!

    To navigate to a specific Azure Blob storage container from Power Query tool Please follow the below steps.

    From MS Excel click on Data -->Get Data --> From Azure--> From Azure Blob Storage

    User's image

    Next Step is to provide Azure Blob storage container URL

    To get the container url navigate to Azure Portal-->Storage account-->containers-->select the container that you want to connect to-->select the container properties as shown in below screenshot.User's image

    Copy the container url and paste this URL in the Power query.

    User's image

    Generate the SAS token on the container level with required permissions and expiry and copy the Blob Sas token as shown in the screenshot

    User's image

    User's image

    From the Power Query Paste the Container URL and select OkayUser's image

    Now select the shared access signature to authenticate and paste the Blob sas token generated previously and from the drop down select the Container URL to connect

    User's image

    Now you will only be able to see the blobs inside that container.

    User's image

    Kindly let us know if the above steps helped.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.