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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
BobbyDollar
Frequent Visitor

Adding missing calendar month rows to table

Hi

I have have a data table with sales results of Region, Product, Date (only monthly needed) and a Quantity.

BobbyDollar_2-1676294913709.png

I would like to automatically add rows for all Region/Products where the month is missing with Quantity 0. E.g. from DACH and Product M I am missing June as well as Aug - March, so it should add 9 lines with DACH, Product M, missing and so on for the other region/products.

As a result:

BobbyDollar_1-1676294816386.png

Reason is that I want to add a calculated column for the forecast later on, and this might add quantities to the missing month. If I do not have all 12 month line I am missing numbers.

 

I know ... does not sound very professional but i do not know better yet, being under time pressure.

Instead of the month I have a calendar date as well, connected to a date table ...


Any feedback appreciated
Thank you

Robert

 

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

You can achieve this

serpiva64_0-1676300458735.png

starting from this 

serpiva64_1-1676300494927.png

by applying the steps of the attached file

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

 

View solution in original post

1 REPLY 1
serpiva64
Solution Sage
Solution Sage

Hi,

You can achieve this

serpiva64_0-1676300458735.png

starting from this 

serpiva64_1-1676300494927.png

by applying the steps of the attached file

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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