This content has been marked as final. Show 2 replies
My Customer table is like:
Sales Category table is like:
I'm trying to create a pivot table and a Category filter. I want to implement:
1. By default, it's showing YES if a customer sales either apple or banana, NO if a customer sales neither.
2. If select APPLE, show YES for customers who sales apple, NO for customers don't.
I'm creating the model by Sales Category left join Customer. My function is:
It works well without filters. But if I selected only Apple, it would only show C2 &C3 with 'YES'.
How should I modify my model or function?
Thanks in advance!!!