Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.