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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
RubenIdx
Helper I
Helper I

Filtrado de resultados de filas

He elaborado un modelo del que tengo una situación con la medida "% Var Total" esta medida tiene dos comportamientos uno en el nivel de detalle (producto) y el otro en los subtotales dependiendo de las agregaciones utilizadas.

Tomando como bueno el resultado del cálculo en mi matriz, se muestra que aunque tenían movimiento no corresponden al período filtrado, por ejemplo el producto "Item1097" tuvo movimientos en marzo de 2018 cuando estoy comparando 2020 vs 2019.

¿Puede decirme cuál es la manera correcta de filtrar este resultado?

Agradezco su orientación de antemano

Aquí está el enlace de descarga del modelo

https://drive.google.com/file/d/1uIlxPNASRaix02481wKpbFK3fwj9HsHy/view?usp=sharing

Preview Datamodel.png

La medida en cuestión:

% Var Total = Var TsVarTotal = DIVIDE(CALCULATE(Ventas[Varia Total]),CALCULATE([Venta Anterior]),0) 
VAr X = 1

 Var ProdVaria= CALCULATE([Varia Total Z])
Return 
SWITCH(TRUE(),
       HASONEVALUE(Productos[Producto]),ProdVaria,
       HASONEVALUE(Clases[Desc Clase]),TsVarTotal,             
       HASONEVALUE(DivRes[DivShr]),TsVarTotal, 
       HASONEVALUE(Ventas[SECTOR]),TsVarTotal,                                  
       HASONEVALUE(Clientes[Holding]),TsVarTotal, 
       HASONEVALUE(Vendedores[Name Vendedor]),TsVarTotal, 
       HASONEVALUE(Monedas[Currency]),TsVarTotal,
       BLANK()
)

1 ACCEPTED SOLUTION

Hola @RubenIdx ,

Si no desea ver datos en blanco y 0, puede configurar los campos en el panel de filtro.

3-1.PNG

Puede utilizar la función ISINSCOPE() para mantener el valor total orginal.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hola @RubenIdx ,

Si aún así sigues teniendo problemas, la página de ayuda de Aquí.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

¡Hola!, gracias por la atención.

El resultado esperado es evitar u ocultar filas sin datos en los períodos seleccionados, por ejemplo, en la siguiente imagen las filas en el cuadrado rojo no tiene datos porque estos artículos tenían ventas a lo largo de 2018 o entre abril 2019 y diciembre 2019 y Estoy comparando jan-march 2019 vs jan-marc h 2020.

DatamodelOriginal.png

Y este es el resultado que me gustaría lograr.

DatamodelExpected.png

Gracias de antemano.

Hola @RubenIdx ,

Si no desea ver datos en blanco y 0, puede configurar los campos en el panel de filtro.

3-1.PNG

Puede utilizar la función ISINSCOPE() para mantener el valor total orginal.

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors