Sum doubling the value..
I can spot the problem right away due to the number of joins you're using. I have this problem and solutions described in this blog postAggregates with multiple tablesFor every expert, there is an...
View ArticleSum doubling the value..
Deepak is right. If you still cannot solve your problem, could you post a picture of a partial database model containing the tables in your query?tblCCRS_relations tbl_element_credit_applications...
View ArticleSum doubling the value..
Could you please post the result set of the query without the DISTINCT?Result:-without distinct25577 135554.082514537 25577 135554.082514537 25577 64579.682662214 25577 64579.682662214The final SUM...
View ArticleSum doubling the value..
Could you please post the result set of the query without the DISTINCT?Result:-without distinct25577 135554.082514537 25577 135554.082514537 25577 64579.682662214 25577 64579.682662214
View ArticleSum doubling the value..
Could you please post the result set of the query without the DISTINCT?
View ArticleSum doubling the value..
Try removing DISTINCT from fisrt query. It might be the case of your first query actually returning 4 rows instead of 2 rows [there might be data available multiple times with same OpeningStock or the...
View ArticleSum doubling the value..
Try removing DISTINCT from fisrt query. It might be the case of your first query actually returning 4 rows instead of 2 rows [there might be data available multiple times with same OpeningStock or the...
View ArticleSum doubling the value..
Hi SR_MCTS,You probably included a 'DISTINCT' because your query gave 'double' answers to your question. That means that the query really returns more than one distinct row with the same values. If you...
View ArticleSum doubling the value..
Try removing DISTINCT from fisrt query. It might be the case of your first query actually returning 4 rows instead of 2 rows [there might be data available multiple times with same OpeningStock or the...
View ArticleSum doubling the value..
While running this query...Select distinct CR.CustomerID , I.Current_Identified_Impairment_Raised As OpeningStock_at_CustomerLevel--, --,SUM(I.Closing_Stock) AS ClosingStock_at_CustomerLevel--,...
View Article