Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bom dia
Na tabela a baixo preciso que na coluna entregue traga para todos 25.000, porém usando o SUM e o AGGR só estou conseguindo trazer para a primeira linha. Alguém poderia me ajudar. Já tentei com e sem o DISTINCT.
Entregue = SUM(DISTINCT AGGR(SUM([Qtde Recebida]),[Ord.Compra]) )
Encontrei a solução:
SUM(AGGR(NODISTINCT SUM([Qtde Recebida]),[Ord.Compra]) )
Encontrei a solução:
SUM(AGGR(NODISTINCT SUM([Qtde Recebida]),[Ord.Compra]) )