Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi i have a table with a calculated dimension( periode en jours) i want to count values between 120 and 240 in this table any ideas
please?
You want to count in which context? In a text box?
Maybe like
Sum(
Aggr(
If(Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') > 120 and Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') < 240, 1, 0),
[NUM_COMM_...] // replace with your full field name you've used in your chart
)
)
May be this:
If(Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') > 120 and Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') < 240, 1, 0)
thanks for your reply i want to count haw many values between 120 and 240 in this calculated dimension ?
You want to count in which context? In a text box?
Maybe like
Sum(
Aggr(
If(Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') > 120 and Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') < 240, 1, 0),
[NUM_COMM_...] // replace with your full field name you've used in your chart
)
)
I guess then follow how Stefan mentioned:
Count(Aggr(If(Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') > 120 and Interval(DATA_BOLLA-DATE_COMM_LIV, 'd') < 240, 1, 0), YourChartDimensions))
thank you it works