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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 16 | |
| 14 | |
| 12 | |
| 7 | |
| 6 |