Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In the below formula I don't know what I am doing wrong.
=Avg(Avg(D2-D1) + Avg(D3-D2) + Avg(D4-D3))
I am using this formula in a expression for a speedometer chart to calculate the average no of days between D1 to D4.
Your help is very much appreciated.
Thanks!!
QlikView does not accept average to average
Then how can I achieve it? May be percentage would be good idea?
Please suggest.
As these dates are formatted?
Could you post an example?
Hello Pacheco,
I attched the qvw file above. I am usign the speedometer chart.
You can wrap it inside an aggregation as well, to do an avg(aggr(avg(D1to3),Dimensions))
Your dimensions for the aggr should be anything the user can select based on.
Edited for clarity using your expression:
Avg(Aggr(Avg(D2-D1) + Avg(D3-D2) + Avg(D4-D3)), Dimensions)
I tried this way also Anders, but for the example that qvw SAARU sent did not work.
Hi,
Hi,
Try using RangeAve
=RangeAvg(Avg(D2-D1), Avg(D3-D2), Avg(D4-D3))
Hope this helps you.
Regards,
Jagan.