Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
The problem is I have a user exclusive field that has either a 1 or 0 in it. I want if any user on an account has a 1 in the field, for it to be saved to the account as the account have a 1 in the field. Is this possible? Will it need to be in the data load or can it be in the dashboard? Help please!
Thanks
Mark
Maybe something like this?
Accounts:
LOAD AccountID,
...
FROM YourAccountTable;
LEFT JOIN (Accounts)
LOAD // UserID, //commented, don't needed for the aggregation
AccountID,
If(Sum(UserExclusiveField) >0, 1,0) as YourNewFlag
FROM YourUserTable
GROUP BY AccountID;