Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a few Excel workbooks I want to load data from every month. Each workbook will contain over 20 worksheets, each worksheet with one table. The worksheets should be loaded in their own query and not combined/appended with other workbooks. However, not every table will have data; some will be empty tables.
Power BI gives you the option to manually select which tables to load via the 'Navigator' menu but is there a way to dynamically load only the non-empty tables? If so, would this be achieved in DAX or M? As checking each table every week across multiple workbooks would be a very time consuming task.
For example, let's assume an Excel workbook with 8 Tables named "Table1" to "Table8" on separate worksheets also labelled "Table1" to "Table8". Only Table3, Table4 and Table 5 have data. The empty tables should not be loaded into the Data Model to avoid clutter.
Thanks in advance!
Solved! Go to Solution.
HI @RokuCap,
In my opinion, I think these operations should suitable to processed in Power query.
If these files are stored in the folder, you can use folder connector to get data from that. Then you can add filters on different fields(they mean the file properties) to the filters connector result to filter not match records, and load data form remained files.
Regards,
Xiaoxin Sheng
HI @RokuCap,
In my opinion, I think these operations should suitable to processed in Power query.
If these files are stored in the folder, you can use folder connector to get data from that. Then you can add filters on different fields(they mean the file properties) to the filters connector result to filter not match records, and load data form remained files.
Regards,
Xiaoxin Sheng
Thanks Xiaoxin. I'll give the folder connector a shot. I'm still learning Power Query so I might repost this over there. But you've given me a starting point!
Is this question better suited for the Power Query forum? If so, am I allowed to repost over there?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |