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.
Hola
Tengo una medida que está calcuando una SUMA acumulada
CALCULATE(SUM('Turnover & Contribution 20_21 Reals'[Value]),FILTER(ALL('Turnover & Contribution 20_21 Reals'),[Month]<-MAX([Month])),VALUES('Turnover & Contribution 20_21 Reals'[Contract]))
Necesito añadir 2 filtros a la medida
Nombre de columna: presupuesto (filtro en "F1")
Nombre de columna: Tipo (filtro en "Contribución")
¿Cómo incorporo varios filtros en la medida?
Gracias de antemano
Solved! Go to Solution.
@KG1
Modifique la función de filtro como se muestra a continuación:
FILTER(
ALL('Turnover & Contribution 20_21 Actuals'),
[Month]<=MAX([Month]) && [Budget] = "F1" && [Type] = "Contribution"
)
________________________
¿He respondido a tu pregunta? Marque este post como una solución, esto ayudará a otros!.
Haga clic en el icono Thumbs-Up a la derecha si le gusta esta respuesta 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@KG1
Modifique la función de filtro como se muestra a continuación:
FILTER(
ALL('Turnover & Contribution 20_21 Actuals'),
[Month]<=MAX([Month]) && [Budget] = "F1" && [Type] = "Contribution"
)
________________________
¿He respondido a tu pregunta? Marque este post como una solución, esto ayudará a otros!.
Haga clic en el icono Thumbs-Up a la derecha si le gusta esta respuesta 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Genial - gracias
Funcionó perfectamente
@KG1, no muy claro
Inténtalo como
CALCULATE(SUM('Turnover & Contribution 20_21 Reals'[Value]),FILTER(ALL('Turnover & Contribución 20_21 Reales'),[Mes]<-MAX([Mes])),VALUES('Turnover & Contribution 20_21 Reals'[Contrato]), 'Turnover & Contribution 20_21 Reals'[Presupuesto] á"F1" , 'Turnover & Contribution 20_21 Reals'[Type]"Contribution")
O
CALCULATE(SUMX(filter('Turnover & Contribution 20_21 Actuals', 'Turnover & Contribution 20_21 Actuals'[Presupuesto] ?"F1" && 'Turnover & Contribution 20_21 Reals'[Type]-"Contribution") ,'Turnover & Contribution 20_21 Reals'[Value]),FILTER(ALL('Turnover & Contribution 20_21 Reals'),[Month]<-MAX([Month])),VALUES('Turnover & Contribution 20_21 Reals'[Contract]), )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |