Forum Discussion
Problemas con GROUPBY
- 5 years ago
Have you tried the same with SUMMARIZE instead to simplify it
Purchases =
ADDCOLUMNS (
SUMMARIZE (
ih_hist20062020,
ih_hist20062020[Invoice Date].[Year],
ih_hist20062020[Number]
),
"Total",
CALCULATE (
SUM ( ih_hist20062020[Net Amount] )
),
"Cantidad de Invoice",
CALCULATE (
DISTINCTCOUNT ( ih_hist20062020[Invoice] )
)
)Pat
Have you tried the same with SUMMARIZE instead to simplify it
Purchases =
ADDCOLUMNS (
SUMMARIZE (
ih_hist20062020,
ih_hist20062020[Invoice Date].[Year],
ih_hist20062020[Number]
),
"Total",
CALCULATE (
SUM ( ih_hist20062020[Net Amount] )
),
"Cantidad de Invoice",
CALCULATE (
DISTINCTCOUNT ( ih_hist20062020[Invoice] )
)
)
- RicardoLeivaG5 years agoHelper I
Muchas gracias funciono.