Hi,
I am a desktop developer, Webi 4.1, and do not have access to SQL.I can only use queries and Custom Variables. I can solve part of the issue using two queries but that slows the query down significantly because one query queries from the other. I'd need four such queries to solve for all the sales level. Not the answer. Also, that method only works when the account is in the block. I need summary blocks without account detail.
We have a sales hierarchy of 4 levels. Accounts have multiple people assigned to them (see example attached excel picture). Account values get aggregated multiple times as the reporting rises up the hierarchy.
In the same report, across multiple different Blocks, I need to show different aggregations of the data. In the top level I need the sum of the distinct account dollars for the person reporting to.I am failing to get any kind of DISTINCT operator to work.
We will have different reports for each level of sales hierarchy so I do not have to solve all reporting levels in one report.
Please see the Excel file picture example
Thanks so much.
PS: I am not a new member. I stupidly signed up under my work email and now that is gone. Shucks.