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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Malith124
Frequent Visitor

How to get active rent's details for given month using power bi

I want to show active rent's details for given month in power bi. I have a table where i have rent details. In that table i have start date, end date and how many months. So when i select a month in power bi visual i want to show what are the rents currently active using power bi

 

Example

House A 1.1.2019 31.12.2019 12 House B 1.2.2019 31.05.2019 03 House C 1.4.2019 31.12.2019 08

If i select month June result should be House A and House C, and if i select march result should be All three (A, B, C)

Can someone help me with power bi?

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Malith124 ,

One more question, I have a little confused about the logic of your example.


Example

House A 1.1.2019 31.12.2019 12 House B 1.2.2019 31.05.2019 03 House C 1.4.2019 31.12.2019 08

If i select month June result should be House A and House C, and if i select march result should be All three (A, B, C)


From my understand, if you select march, the result should be House A and House B, because for House C, the start date is 2019/4/1, so March is not during the date range. 

Did I misunderstand your logic? If it is convenient, could you describe your logic in more details.

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.

your logic is r8t. @v-piga-msft 

 

This is my solution (https://app.powerbi.com/groups/me/reports/b12bf4b6-14f1-41e1-9bf9-832509dce3e9?ctid=8ac0e5ca-0835-4d...). Check Page 4. Here i used start_date for calendar because of that is only show records start with selective month but i also want to get records that goes in that months(for example one id is going Jan to Dec when i select march this record need to show). 

 

This my table and id will be forign keys for other tables. 

Capture.PNG

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Malith124 ,

One more question, I have a little confused about the logic of your example.


Example

House A 1.1.2019 31.12.2019 12 House B 1.2.2019 31.05.2019 03 House C 1.4.2019 31.12.2019 08

If i select month June result should be House A and House C, and if i select march result should be All three (A, B, C)


From my understand, if you select march, the result should be House A and House B, because for House C, the start date is 2019/4/1, so March is not during the date range. 

Did I misunderstand your logic? If it is convenient, could you describe your logic in more details.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors