Forum Discussion
Syndicate_Admin
Administrator
1 year agoFiltrado visual, pero no de datos
Hola Tengo un informe que tiene una tabla grande que muestra los %s semanales por tipo de transporte. Quiero agregar un filtro de segmentación para que podamos ver cada tipo individualmente y no...
Syndicate_Admin
Administrator
1 year agoHola @charlotte_emily
Cree una tabla de dimensiones independiente para la columna de índice o el nombre de columna de esos números.
Relaciona eso con tu tabla de hechos con una relación de uno a muchos.
Cree esta medida:
Percent to All Index =
DIVIDE (
SUM ( Data[Value] ),
-- Numerator: Calculates the total of the [Value] column in the current filter context.
CALCULATE (
SUM ( Data[Value] ),
-- Denominator: Calculates the total of the [Value] column,
-- but overrides the current filter context as defined below.
REMOVEFILTERS ( 'Index' ) -- Removes any filters applied to the 'Index' table or column(s).
-- This ensures that the denominator represents the grand total of [Value] across all 'Index' groups.
)
)
Use esa medida y la columna Index de la tabla de dimensiones en el objeto visual
Por favor, consulte el ejemplo de pbix adjunto