Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |