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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hola
Hay una medida "TotalCost" que se utiliza en la tabla visual junto con algunas otras columnas. Quiero filtrar el objeto visual de la tabla utilizando la misma medida en la segmentación de datos desplegable con la opción de selección múltiple.
He creado una tabla calculada usando el siguiente dax:
@mypowerbi1 Por favor, pruebe este:
Medida de segmentación = VAR Tabla1 = RESUMIR( Producto, Producto[NombreDeProducto], Producto[NúmeroProducto], "TotalCosto", [CostoTotal] ) Tabla RETURN1
Filtro de medida =
VAR SelectedTotalCosts = VALUES('Slicer Measure'[TotalCost])
VAR CurrentMeasureValue = [TotalCost]
DEVOLUCIÓN
IF( COUNTROWS
( FILTRO
( SelectedTotalCosts, CurrentMeasureValue = [TotalCost] )
) > 0, 1, 0 )
He intentado cambiar el "Filtro de medida" de esta manera:
@mypowerbi1 Por favor, pruebe este:
Medida de segmentación = VAR Tabla1 = RESUMIR( Producto, Producto[NombreDeProducto], Producto[NúmeroProducto], "TotalCosto", [CostoTotal] ) Tabla RETURN1
Filtro de medida =
VAR SelectedTotalCosts = VALUES('Slicer Measure'[TotalCost])
VAR CurrentMeasureValue = [TotalCost]
DEVOLUCIÓN
IF( COUNTROWS
( FILTRO
( SelectedTotalCosts, CurrentMeasureValue = [TotalCost] )
) > 0, 1, 0 )
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.