In this article, I will walk you through how to use Power BI Desktop to connect, analyze, and visualize data that is stored in a storage account that has a hierarchical namespace (Azure Data Lake Storage Gen2). Let's get started

In the screenshot below, we have got sales2015 to sales2018 CSV files that is already loaded to the salesdata container of the cornerstoneanalytics storage account.

Salesdata

To successfully connect to the CSV files in the container, we must ensure that the user who intends to use Power BI Desktop to connect is granted one of the following roles for the storage account: Blob Data Reader, Blob Data Contributor, or Blob Data Owner

To grant the permission.

The first column is removed and I have added a new column by extracting the Year from the OrderDate column. So, in the Home tab of the Power Query, click on Close and Apply.

We can build a report on the data. We visualize Sales by Year using a table and clustered column chart as seen below.

Report