Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Guys,
i am using this connector to get data from github folder:
shared GitHub.Contents = (relativePath as text, optional folderPath as text) =>
let
baseUrl = "https://api.github.com/repos/Vnomic/",
url = baseUrl & relativePath & "/contents/" & folderPath,
source = Json.Document(Web.Contents(url, [
Headers = [
#"Authorization" = "Bearer " & Extension.CurrentCredential()[access_token],
#"User-Agent" = "PowerQuery"
]
]))
in
source;
It is possible to get 1 parent folder and all csvs tables inside subfolders while connecting to github ?
Best,
Jacek
Solved! Go to Solution.
Hi @jaryszek ,
Thank you for reaching out to us on Microsoft Fabric Community Forum!
It is not directly possible to pull all CSVs from a parent folder and all its subfolders in one go using the GitHub.Contents connector. If your folder structure is simple, you could work around this by calling each subfolder separately.
Hope this helps.If so,consider accepting it as solution.
Hi @jaryszek ,
Thank you for reaching out to us on Microsoft Fabric Community Forum!
It is not directly possible to pull all CSVs from a parent folder and all its subfolders in one go using the GitHub.Contents connector. If your folder structure is simple, you could work around this by calling each subfolder separately.
Hope this helps.If so,consider accepting it as solution.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |