Hi,
I added few 3 different views to the AX standard query ProjTable_NoFilter.
Each of these view has amount column and i want to show Sum of that into ProjProjectListPage list Page.
but these views are replicating the records and hence i am getting wrong Sum of the Amount.
It's quite large amount than expected because of the extra rows created by the Join between these views.
If i keep single view in the AOT Query, sum is correct. but as soon as I add the 2nd view it actually shows larger value than expected.
I found that from T-SQL query that if we use Select 'DISTINCT' keyword, everything works fine. But i am not sure how to use distinct in AOT Query.
Any pointer would be much appreciated.