Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a query based on multiple SharePoint lists. Everything works just fine when there is data in the lists, however when I try to refresh my dashboard when one of the lists is empty I get an error message saying there is no 'ID column' to be found. It's not ideal to make sure there is always a line in the SharePoint list. I was wondering if there is a workaround for this issue.
Thanks in advance,
Matt
Hi @Matthias93,
Do you refresh your data in Power BI Desktop or in Power BI Service?
Based on my test, when we firstly import data from SharePoint lists and empty list into Power BI Desktop, empty SharePoint list will show as an empty table in Power BI Desktop. In this case, there are no issues when you refresh data in Power BI Desktop or refresh the dataset in Power BI Service.
However, if I delete all items on one of my non-empty SharePoint list (for example: LS), then refresh data in Power BI Desktop or refresh the dataset in Power BI Service, I can reproduce your error. In this case, open query editor in Power BI Desktop, click on your query(LS in my scenario) , and you will see APPLIED STEPS in Query Setting panel, some steps(“Renamed Columns” in my scenario) should make changes to your columns, as long as you remove these steps, the error goes away. And if you get this error in Power BI Service, you will need to firstly handle this error in PBIX file and re-publish it to Service.
Thanks,
Lydia Zhang
Hi,
I have a query based on multiple SharePoint lists. Everything works just fine when there is data in the lists, however when I try to refresh my dashboard when one of the lists is empty I get an error message saying there is no 'ID column' to be found. It's not ideal to make sure there is always a line in the SharePoint list. I was wondering if there is a workaround for this issue.
Thanks in advance,
Matt
I had the same problem and found the best workaround is to create a "test" row in the Sharepoint list that always stays there and filter it out in the BI report.
User | Count |
---|---|
73 | |
70 | |
38 | |
25 | |
23 |
User | Count |
---|---|
96 | |
93 | |
50 | |
43 | |
42 |