Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hola Comunidad,
tengo el siguiente problema con un groupBy
Codigo:
Solved! Go to Solution.
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] )
)
)
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
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] )
)
)
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Muchas gracias funciono.
| User | Count |
|---|---|
| 15 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |