

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
showing incorrect count
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
- « Previous Replies
- Next Replies »
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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) )
)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Provide sample data !

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you tell us where you think it is wrong? What is the exact result according to your need?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please check the count total. all vech count


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
total should be 31057 for year 2016

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How 31057?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why?
total count is 43471

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
43417 is correct value. Not sure do you missed any filters in the expression or script?
Regards,
jagan.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jagan,
No filters applied only year 2016. please manually count the 10 vech. you will get 31057


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- « Previous Replies
- Next Replies »