Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi i am doing simple count
count(id) and for ratio count(id)/count(total id)
count(total Id) is incorrect.
in straight table i checked.in properties expression tab if i use Expression as total it showing correct.
how to do this bar chart.
Note: i am using cyclic group in dimension
for ratio use expression
If(Rank(count(BW_VEH_ID), 4, 1) <= 10,
count(BW_VEH_ID)
/sum(TOTAL aggr(If(Rank(count(BW_VEH_ID), 4, 1) <= 10,count(BW_VEH_ID)) ,BW_MAKE_DESC) )
)
Provide sample data !
Can you tell us where you think it is wrong? What is the exact result according to your need?
please check the count total. all vech count
total should be 31057 for year 2016
How 31057?
Why?
total count is 43471
Hi,
43417 is correct value. Not sure do you missed any filters in the expression or script?
Regards,
jagan.
Hi Jagan,
No filters applied only year 2016. please manually count the 10 vech. you will get 31057
So, in your bar chart 2 expression with different format, for first axes should be 0-10000, for second 0 %- 100%.
Maybe second expression can be Text as Pop-Up for example