Forum Discussion
u4us1923
1 year agoFrequent Visitor
csv import this table is empty
Hello Everyone .. I download csv files from a system every week. Sometimes there is no data for that week. Therefore, if there is no data in that csv, PowerBI will say “this table is empty” for th...
Anonymous
1 year agoNot applicable
Hi u4us1923 ,
As a workaround, you can create a date table with full dates and then merge with your source data to fill in the missing dates.
Here’s a step-by-step guide to achieve this:
1.Create a list of all dates within the range: Refer to Create Calendar Table Using Power Query M Language (mssqltips.com)
2.Merge the list of dates with your data: Merge this list with your existing data to ensure every date within the range is represented.
3.Fill missing dates with zero quantity: Replace any missing quantities with 0.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.