Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello World!
Please I need help to get the number of valid products (State) that a customer has on the company and group by ID
I have this table
ID - PRODUCTS ID - STATE
15363 - VEHICLE - VALID
15363 - MOTO - INVALID
15363 - VEHICLE 2 - VALID
14321 - VEHICLE - INVALID
14321 - VEHICLE 2 - VALID
I need to get this
ID - NUMBER OF PRODUCT VALID
15363 - 2
14321 - 1
Thanks
Try this
Count(TOTAL <ID> {<STATE = {'VALID'}>} ID) * Avg(1)
It didnt work.
The same before.
It seems to be working for me...
Without selection
INVALID Selected
VALID Selected
It Works, you rigth. Thanks you
okay nice