cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PBl
Regular Visitor

Condition calculations

Hello,

 

I have a bunch of buildings and I would like to find a way how to model their weakening condition.

 

My data is in form:

idaddressgross areacondition now
1first steet70045 %
2second street150065 %
3third street94090 %

 

The idea is, that each year, condition of each property goes down by 5%-points. The conditions are to be grouped in categories A: 80-100%, B: 50-80% and C: <50%.

 

I would like to make a stacked pile graph that has years on horizontal axis and gross areas on vertical axis, having condition category as a legend. 

 

The guestion is, is there a way to calculate each years' condition in Power BI or should I include the time-dimension in Excel? My attempts of doing research on this weren't successful - if there has been similar questions before, I would love to get a link.

 

My next challenge is to add new buildings later, for example, a building that will be built on 2024, and will therefore have a condition of 100% on 2024..

 

Thank you for your time and help! 😊

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @PBl ,

 

Could you please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business?

 

Or provide the expected result, which is presented in the form of charts.

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

camargos88
Super User III
Super User III

@PBl ,

 

Maybe this link helps you:

https://www.daxpatterns.com/dynamic-segmentation/



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors