Forum Discussion

Dan_FR29's avatar
Dan_FR29
Regular Visitor
6 months ago
Solved

Issue to get Data from "SharePoint Folder"

Hello dear community I'm new here and started with PowerBi Desktop free version (some months ago) to prepare all my dashboards before moving to the"Pro" licence and share them with colleagues from...
  • Dan_FR29's avatar
    Dan_FR29
    6 months ago

    Hello all

    the solution works fine, it's as quick as using local files/paths
    Wust the way the select directories which is a little different.
    As all my files are store into the same SharePoint, I created 1 Query to select the SharePoint and went down up to the same common directory where all my other sub directories are stored.
    Then need by need I add a new Query to continue going down hierarchy up to the expected file/files.


    To go down hierarchy, you need to use the method I gave earlier - the result of the "source" query will be the list of files & directories (and/or libraries) viewable at the root of your SharePoint/
    - You'll find the "content", "Name","Extension"....
    - From "Name" column, > "Filter" to select the directory you need to go down hierarchy.
    To continue , 
    - Then expand  "Content" column, where you just need to select "Content" and "Name" again > that will show you the lower level files & sub-directories in the hierarchy

    - Repeat this up to the expected location
    You can then select multiple files or a unique one to import Data

    At the last selction (File level), if you need filter files by their "Date modified" or "Created", select those properties when expanding "Content" columns (if you do not select them, default Dates you will see are Sharepoint/Directories creation Dates, not the files real properties....)
     
    The solution is working fine
    👍