Forum Discussion
Filter with calculated measures
- 9 years ago
how can i filter with dynamically filter?
Have you tried the VAR function that I mentioned in your previous thread? In this scenario, the formula should like below.
=
VAR m = Measures
RETURN
CALCULATE ( SUM ( 'x' ), FILTER ( 'y', column = m ) )If the result is still not right, could you post your table structure and the measures you use, and some sample data in your case?:smileyhappy:
Regards
how can i filter with dynamically filter?
Have you tried the VAR function that I mentioned in your previous thread? In this scenario, the formula should like below.
=
VAR m = Measures
RETURN
CALCULATE ( SUM ( 'x' ), FILTER ( 'y', column = m ) )
If the result is still not right, could you post your table structure and the measures you use, and some sample data in your case?:smileyhappy:
Regards
Hi
I tried the same thing with a filtren that you can choise in the report (a visual filter)
Viajes de Cir - Dest 2 = IF([Base Ajustada Origen]= "HID",CALCULATE(COUNTROWS(Circuitos),'Circuitos'[MAPA DESTINO]="HID"),4)
Measure = Base Ajustada Origen, the value that it generate is HID
But it not recognize the mearsure like a text. The messeage said that i can´t used a mesure with a dinamic visual.
could you help me?