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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
david_blabla
Frequent Visitor

Query empty data set will lead to nothing is downloaded - How do I fix that?

Hi all,

 

For our use-case we are creating standard dashboards and reports connected to a couple of web APIs. We will set these up for some different clients at the beginning of their project. Since it is only the beginning of the project it might very well be that some of the endpoints do not provide any data yet, since data of that type was not yet created in the project.

 

Neverthless there are dashboards which could already be displayed based on the other data types.

 

Problem is that PowerBI does not download anything if one of the endpoints comes up empty, hence nothing can be displayed.

 

Is there any way around that issue so that PowerBI continues downloading even though some parts are still empty?

 

Thanks for the help,

David

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @david_blabla 

If your data has columns' names but has no value for each column, power query could read data into power bi.

But if there is no any information from your data source, power query would not read any data by default.

 

Best Regards

Maggie

Hi @v-juanli-msft,

 

Thanks for you reply - When you say "power query would not read any data by default" does that mean that there is an option to make it load data even when there is no information from the source?

 

It does not feel right to setup our endpoint in a way that it serves empty files without any content if nothing is to be shared yet. Can't I tell PowerBI to jump over an empty endpoint but continue to download the rest, run dashboards based on the available info!?

 

Thanks,

David

parry2k
Super User
Super User

@david_blabla you have to do an error check in your power query so that when there is empty data, it doesn't fail. Have a look at this post and implement it in your solution.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors