Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to optimize the dashboard size by moving the aggregations to Backend of scripts, while doing this i am facing some issue.
please find the below sample data
S1:Load * Inline [Column A,Id,BA,100,xA,101,yA,102,xB,103,zB,100,xC,200,yD,101,x];
In the UI calculating the count of distinct Id's by using the formula ----------- Count(distinct Id)=5
when i am applying the same formula in the backend the count is coming as "7" which should be "5"
S2:Load"Column A",B,Count(DISTINCT Id) as CountResident S1Group by "Column A",B;
Drop Table S1;
This is because of Grouping of the dimensions "Column A" and "B"
Is there a way how to achieve this same count function in the Backend
Note:- The value should change when i select the dimensions
Thanks