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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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

Anonymous
Not applicable

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors