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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
luis_garcia
Regular Visitor

Entender KEEPFILTERS

Hola:

Tengo una tabla sencilla y quiero entender como funciona KEEPFILTERS para hacer % de variación y no entiendo porque las dos primeras Medidas NO funcionan como quiero:

 

luis_garcia_0-1684427743795.png

 

Las 2 medidas en ROJO no funcionan 'bien' (no muestran datos en la oleada que no le corresponde), y la medida en Verde si, pero me obliga a tener una tabla auxiliar. La única diferencia es la condición del filtro (zona azul)

 

¿Estoy haciendo algo mal?

 

Un saludo

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @luis_garcia ,

 

I think this is not an issue. I can reproduce this on myside.

veqinmsft_0-1684828584376.png

 

As far as I know, I think the difference should be casued by that [Columna] in SELECTEDVALUE() comes from the unrelated Oleadas table.

 

Measure [KeepFilter_Oleada1/2] use keepfilter equal to determind Oleada type, so your measure will return correct result in that Oleada type.

 

There is no relationship between two tables, so measure [KeepFilter_OleadaX] will return result in all Oleada type.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @luis_garcia ,

 

I think this is not an issue. I can reproduce this on myside.

veqinmsft_0-1684828584376.png

 

As far as I know, I think the difference should be casued by that [Columna] in SELECTEDVALUE() comes from the unrelated Oleadas table.

 

Measure [KeepFilter_Oleada1/2] use keepfilter equal to determind Oleada type, so your measure will return correct result in that Oleada type.

 

There is no relationship between two tables, so measure [KeepFilter_OleadaX] will return result in all Oleada type.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.