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

Correct way to combine 2 AVG Gauges into one

I have 2 Gauge charts with AVG number

 

Alarkis_0-1604823532993.png

1) 

Avg({<Year={$(vMaxYear)},TASKID={'2'}>} TIME)

Alarkis_1-1604823564375.png

2)  

Avg({<Year={$(vMaxYear)},TASKID={'4'},STEPID={'003'}>} TIME)

Alarkis_2-1604823583063.png

3) combined as:

Avg({<Year={$(vMaxYear)},TASKID={'2'}>} TIME)

+

Avg({<Year={$(vMaxYear)},TASKID={'4'},STEPID={'003'}>} TIME)

 

Is this Correct/Good way? i want to join 2 avgs as 1 avg.

Labels (4)
1 Solution

Accepted Solutions
rubenmarin

Hi @Alarkis, thats a good way if you want to sum both averages, if you want a global average this expression can be used:

Avg({<Year={$(vMaxYear)},TASKID={'2'}>+<Year={$(vMaxYear)},TASKID={'4'},STEPID={'003'}>} TIME)

View solution in original post

1 Reply
rubenmarin

Hi @Alarkis, thats a good way if you want to sum both averages, if you want a global average this expression can be used:

Avg({<Year={$(vMaxYear)},TASKID={'2'}>+<Year={$(vMaxYear)},TASKID={'4'},STEPID={'003'}>} TIME)