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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.