Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to make the bar display as 2 For reject code = 124 ?

Hi All

I want to plot a chart that display the Qty of reject by reject code, I don't have the Qty value , i only have the reject code . May i know how to count number of reject code and display on the bar chart ?

Paul

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Hi Paul,

try

count(Aggr(NODISTINCT kode_reject,line_id))

Regards,

Antonio

View solution in original post

5 Replies
antoniotiman
Master III
Master III

Hi Paul,

try

count(Aggr(NODISTINCT kode_reject,line_id))

Regards,

Antonio

paulyeo11
Master
Master
Author

Thank , it work fine.

paulyeo11
Master
Master
Author

Hi Sir

I want to count total number of reject by kode_reject , meaning I will place kode_reject at dimension .

Paul

Sent from my iPhone

antoniotiman
Master III
Master III

Try aggr() with date_time instead of line_id

paulyeo11
Master
Master
Author

Hi Antonio

Thank you vey much , i manage to create all the chart i need.

Paul