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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Need help

I have a condition where have to find  the count of all apartments which were vacant in the past:

For this what I have is - 

Apartment Index, Name, IsLeerStand, einzug, auszug

AA123.01, LEER, J, 01.02.2017 , 31.07.2017

AA123.02, LEER, J, 01.01.2016 , blank

 

So as you can see from the data everytime there is an empty apartment we name it "LEER" and IsLeerStand field sets to "J".

einzug is the date on which this apartment got empty and auszug is the last date for the apartment to be vacant (means next day someone moves in).

 

I have created a yyyy-mm column based on einzug column and trying to find the count of all the apmty apartments in the past. The problem here I am facing is it's only giving me the count of the apartments based on the einzug date. For example 666 apartments which has LEER name and einzug date in 1st month of 2017. But there are more apartments which are vacant and have einzug date less than this date.

 

Please refer to screen shot.

 

Capture6.PNG

 

I hope, I have expalined everything clearly here. But, I am happy to provide more information if required to solve this problem.

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

If I understand your problem correctly that you cannot get the right count of empty apartment during the einzug?

 

If it is convenient, could you share a dummy pbix file which can reproduce the scenario and your expected output, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.