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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Create Rows to the table where the data is missing for specific dates

Hello All,

 

I have a table with below columns in my dataset. We have monthly revenue for each resellers in this table from feb-21 to mar-22.

unnipbi123_0-1651064088365.png

 

For few resellers, there will be no data for some particular months, as they didn’t generate revenue on those months. I want to create rows for those resellers with the missing date and the revenue for those missing dates to be updated as blank.

Please advise how we can achieve this.

Current data:

 

unnipbi123_3-1651064101542.png

 

 

Expected result:

 

unnipbi123_4-1651064111947.png

 

 

 

 

6 REPLIES 6
Anonymous
Not applicable

Could somebody please help on this?

Shishir22
Solution Sage
Solution Sage

Hello @Anonymous,

Can you please try this -
1. Create one CalculatedTable using DimCalendar =  CalenderAuto() function.

2. Give relationship of DimCalendar and you Data Table on Date Column.

3. Pull Date field from DimCalendar in your visual instead of your Data Table.

 

4. Enable "Show Items with No Data" for Date column in field option for your visual.

 

Shishir22_0-1651064418537.png

 

 

 

Please mark it as solution if it resolves your issue. Kudos are also appreciated.

 

Cheers,

Shishir

Cheers,
Shishir
Anonymous
Not applicable

Hi @Shishir22 

 

I actually want to create rows in the table where the data is missing for particular month. it should show all the dates(feb-21 to mar-22) for all the customers with the revenue as blank whereever the date is missing for the customers

Can you please try above steps.

It should show expected result.

 

Thanks,

Shishir

Cheers,
Shishir
Jihwan_Kim
Super User
Super User

Hi,

Please try to replace your [Revenue] measure with the below.

 

Revenue measure fix: =
COALESCE ( [Revenue], "" )

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

@Jihwan_Kim there is no change in the table if i add this measure

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.