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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
eberg3
New Member

Asset Managment Dashboard

Hey Everyone,

 

I am trying to find a way to accurately and quickly display an assest managment dashboard for our company. Currently we use a simple Gantt Chart with an excel sheet driving the information, then refer to multiple other excel sheets to see how many assets are required for one day.

 

So we are wanting to use the information feeding the gantt chart which has a start and end date. Have this read a table which has the total quantity available and highlight any constraints. IE. Customer X will be renting Design 1 (which includes 3 Valves, 1 Cross) on April 3-12th, Customer Y will be renting Design 2 (which is 2 Valves and 2 Cross) on April 8-28th. We have only 4 valves and 2 crosses available in total. So the report would highlight that we will have a shortage April 8th to 12th due to insuffient assets.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @eberg3 ,

I created some data:

vyangliumsft_0-1683168957324.png

 

Here are the steps you can follow:

1. Create calculated table.

Table 2 =
CALENDAR(
    DATE(2023,4,1),
    DATE(2023,4,30))

2. Create measure.

Cross_Remaining quantity =
var _all=2
return
4 -
SUMX(
    FILTER(ALL('Table'),
    'Table'[Date1]<=MAX('Table 2'[Date])&&'Table'[Date2]>=MAX('Table 2'[Date])),[Cross])
Valve_Remaining quantity =
var _all=4
return
4 -
SUMX(
    FILTER(ALL('Table'),
    'Table'[Date1]<=MAX('Table 2'[Date])&&'Table'[Date2]>=MAX('Table 2'[Date])),[Valves])
Measure =
IF(
    [Cross_Remaining quantity] <=0 || [Valve_Remaining quantity] <=0,
    "shortage","abundant")

3. Result:

vyangliumsft_1-1683168957331.png

 

Best Regards,

Liu Yang

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @eberg3 ,

I created some data:

vyangliumsft_0-1683168957324.png

 

Here are the steps you can follow:

1. Create calculated table.

Table 2 =
CALENDAR(
    DATE(2023,4,1),
    DATE(2023,4,30))

2. Create measure.

Cross_Remaining quantity =
var _all=2
return
4 -
SUMX(
    FILTER(ALL('Table'),
    'Table'[Date1]<=MAX('Table 2'[Date])&&'Table'[Date2]>=MAX('Table 2'[Date])),[Cross])
Valve_Remaining quantity =
var _all=4
return
4 -
SUMX(
    FILTER(ALL('Table'),
    'Table'[Date1]<=MAX('Table 2'[Date])&&'Table'[Date2]>=MAX('Table 2'[Date])),[Valves])
Measure =
IF(
    [Cross_Remaining quantity] <=0 || [Valve_Remaining quantity] <=0,
    "shortage","abundant")

3. Result:

vyangliumsft_1-1683168957331.png

 

Best Regards,

Liu Yang

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

Perfect thank you, this helps a ton!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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