Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Amar-Agnihotri
Resolver I
Resolver I

want to connect to subfolders in datalake gen 2 in power bi desktop

I am having sub folders in azure datalake gen 2 as shown 

AmarAgnihotri_0-1653560573715.png

The path is openair / prod / all_files_from_sftp_server

 

Now i want to access files of the last subfolder ( all_files_from_sftp_server) in power bi desktop . I am trying to use CDM folder view (beta) option 

AmarAgnihotri_1-1653560693973.png

I am able to navigate through the subfolders but no files are showing . 

AmarAgnihotri_2-1653560752417.png

can anybodey help me to access the files from subfolders ?

6 REPLIES 6
beeramniharika
New Member

Hi @Amar-Agnihotri 
I am facing the same issue. Could you please let me know the solution if you have resolved it?

Awachit
New Member

Hii,

Were you able to get data from subfolder?

hi @Awachit ,

You can acces the data from sub folders only if you make that container a CDM means Common Data Model Functionality.  To do that you should have a model.json file inside the container . It is not easy to create a model.json file for a very large number of tables so i used another approach. I configured my workspace in Power bi service with azure data lake rather then generic data lake, then i created a data flow inside the same workspace. Now, whenever a dataflow will be refreshed it will create a model.json files inside the container alongwith the data snapshots. This is the only way you can do if you are not having a model.json file. 

@Awachit 

If you come to know about any tool or script through which you can create model.json file then please let me know 

Amar-Agnihotri
Resolver I
Resolver I

hi @amitchandak ,

thanks fro the reply. My last subfolder is all_files_from_sftp_server and it is containg 56 csv files so when selecting this folders all the files should be doiaplayed in the preview but nothing is displaying in the preview Please see the attached gif PowerBi_adlsgen2.gif

amitchandak
Super User
Super User

@Amar-Agnihotri , Using that down allow, open, and check are there more sub folders?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.