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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Jezmona
New Member

PowerbI - Grouping data by dates and products, but include blank dates

Hi All, I can not seem to work out a solution to my problem so hoping you experts can help!

 

I have a data set with Sales Data from the last 2 years. I am trying to summarise the data into a format i can use to do statistcal analysis on (i.e. averages, P10, P90, etc). 

To set the data up right im trying to summarise in a date by Date, ProductID, and Quantity Sold. However this only picks up days i had a sale which throws out my statistics. 

So im wondering if i can create the same groups but include a 0 when there is no sales on a particular date. I tried using a Date table which works to get the blank dates, but then i couldnt break it down by product. 

Using Group i can get it working but cant show blank days

Jezmona_0-1682045278375.png

 

Using summarise i can get the blank days showing but cant work out how to also group by ProductId

Jezmona_1-1682045457675.png



Any ideas for me? 🙂

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors