I want to create a table which shows all person with a revenue in a specifc range. Persons that are not in the range need to be hidden/filtered.
The range is specified by two variables: vNettoAb
and vNettoBis
.
My idea is it to create a dynamic dimension with the following code:
person_dbid
=if(((sum(invoice.value) <= vNettoBis) AND sum(invoice.nettosumme_value) >= (vNettoAb)), %person_dbid)
My formula show an unspecific error, I can't figure out why. Is there a way to filter the persons with Set Analysis (e.g. with e({....}) or do you have any suggestions for my dynamic dimension?
Thanks a lot! I need help ... I already wasted 2 days and have no idea left. :-)