Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tim_jim85
Frequent Visitor

Matriz con subtotales y grandtotales totales en ejecución

Tengo una matriz con totales en ejecución (cantidades por fecha y número de pedido). Necesito filtrar los valores donde 0 está presente en todo el intervalo de fechas seleccionado. Cuando filtro ahora quita cualquier fila que contenga un cero (filtros Total de ejecución en la última fecha en lugar de mirar todo el rango). A continuación se muestra mi medida para el total de ejecución:

FinalFinalRT ?
VAR CurrDevYear ?Max('Fecha'[Fecha])
devolución
CALCULATE(
SUM(MWOLookUpQuant[RTQuant3]),
FILTER(ALL('Date'[Date]), 'Date'[Date] <- CurrDevYear)
Gracias de antemano por cualquier consejo.
1 ACCEPTED SOLUTION

@tim_jim85 - Esto parece un problema de totales de medida. Muy común. Vea mi post al respecto aquí: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Además, esta Medida Rápida, Medir Totales, La Palabra Final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Además, MM3TR&R podría ayudar: https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@tim_jim85 , ¿Puede compartir datos de ejemplo y salida de ejemplo en formato de tabla?

Annotation 2020-07-30 101351.png

FechaOrdenCantidad
7-301-100
7-3012-15
7-291200
7-291245
7-29123-10
7-2812310
7-27150
7-271260
7-2712360

Date[Date] es de una tabla de fechas.

@tim_jim85 - Esto parece un problema de totales de medida. Muy común. Vea mi post al respecto aquí: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Además, esta Medida Rápida, Medir Totales, La Palabra Final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Además, MM3TR&R podría ayudar: https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Muchas gracias. A continuación se muestra la opción que me llevó a una solución:

Además, esta Medida Rápida, Medir Totales, La Palabra Final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.