Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hola
Tengo debajo de la tabla, tenga en cuenta que es sólo los datos de smaple
Quiero calcular SUM encima de MAX.
Max se calcula en la agrupación CustomerID,AreaID y date, y una vez que se calcula max necesita sumar datos basados en CUstomerID y Date.
Customerid | AreaID | Fecha | Cantidad | Importe máximo | Suma Importe |
1 | x | 6/04/2020 | 10 | 10 | 40 |
1 | y | 6/04/2020 | 20 | 30 | 40 |
1 | y | 6/04/2020 | 30 | 30 | 40 |
1 | x | 5/04/2020 | 10 | 20 | 20 |
1 | x | 5/04/2020 | 20 | 20 | 20 |
2 | u | 6/04/2020 | 10 | 20 | 50 |
2 | z | 6/04/2020 | 5 | 30 | 50 |
2 | u | 6/04/2020 | 20 | 20 | 50 |
2 | z | 6/04/2020 | 30 | 30 | 50 |
2 | z | 6/04/2020 | 15 | 30 | 50 |
en mis informes tendré tarjeta que mostrará El Importe Total por un día para un cliente.
Por lo tanto, si el CustomerID 1 y la fecha es 6/04/2020, entonces la tarjeta debe mostrar 40
si el Id.DeC 1 y la fecha es 5/04/2020, entonces la tarjeta debe mostrar 20
si el Id.2 del cliente y la fecha es 6/04/2020, la tarjeta debe mostrar 50
Soy capaz de calcular MAX, a continuación es mi medida:
Esto parece un problema de agregación de medidas. Vea mi artículo de blog sobre eso aquí: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149
Hola
Puede descargar mi archivo PBI desde aquí.
Espero que esto ayude.
Gracias Ashish,
Nunca pensé que las medidas que creaste funcionarán como se ve tan ordenada y simple, fue un gran aprendizaje
De nada.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.