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
Abdullah-Maher
New Member

Generated Conditional Row Automatically

Hello Everyone.

I hope you're doing well.

 

I need your help.

I need to create a clustered column chart that should show the number of vacant and leased units every month during the number of years.

9fcb06af-ab7d-46d8-b7e3-8ef0de8fefe9.png

The sum of two columns in the chart should give the total number of units, but that doesn't work, because the database makes a record of units just when the status changes.

So, I need a function to generate rows automatically every month for every unit to keep copying the last unit status that comes from the database.

Are there any kind of functions or other solutions or ideas to get the same result?

 

Thanks in advance for your help.

 

Regards.

 

Abdullah Maher.

2 REPLIES 2
Anonymous
Not applicable

Hi, @Abdullah-Maher 

Could you please provide some sample data on your question, be careful not to include private data.

 

Best Regards

Jianpeng Li

Anonymous
Not applicable

Hello @v-jianpeng-msft
I hope you're doing well.
Thank you for your cares.
I hope that helps.Screenshot (91).pngScreenshot (92).png

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