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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Real Estate Portfolio cumulative area per year

Hello

 

I have been asked to present a real estate portfolio visual which shows total cumulative sqr ft per year according to lease expiry. 

 

I have building, sqr ft and the lease exiry

 

Building A  - 100sqft - Expire 2020

Building B - 200sqft - Expire 2022

Building C - 300sqft - Expire 2024

 

So 2019 = 600sq ft, 2020 = 500sq ft, 2021 = 500 sq ft, 2022 = 300sq ft etc

 

Please can you assist as I've no idea how to sum if within the lease

 

Thanks

 

1 ACCEPTED SOLUTION

This should work. It works with the limited data that you provided. I made the table with both versions just in case:

 

Capture.PNG

 

The measure that I created is the following:

 

Answer = 
VAR selYear = SELECTEDVALUE(Table2[Expire Year])
RETURN
CALCULATE(
    SUM(Table2[sqft num]),
    ALL(table2),
    Table2[Expire Year] > selYear
)

You can see the result below the years I retrieved from the Expire Year column:

Capture1.PNG

View solution in original post

4 REPLIES 4
vega
Resolver III
Resolver III

In the table, is the square footage listed as 100sqft or just the number 100?

Anonymous
Not applicable

Just the number. Date is an actual date (dd/mm/yyyy) field although I have a column which calculates the year value

This should work. It works with the limited data that you provided. I made the table with both versions just in case:

 

Capture.PNG

 

The measure that I created is the following:

 

Answer = 
VAR selYear = SELECTEDVALUE(Table2[Expire Year])
RETURN
CALCULATE(
    SUM(Table2[sqft num]),
    ALL(table2),
    Table2[Expire Year] > selYear
)

You can see the result below the years I retrieved from the Expire Year column:

Capture1.PNG

Anonymous
Not applicable

Thank you @vega that has worked very nicely. I’ve leanrned a lot with that variable

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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