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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
Community Champion
Community Champion

@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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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