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
Can somone tell me why this works
=
VAR m = Measures
RETURN
CALCULATE ( SUM ( 'x' ), FILTER ( 'y', column = m ) )
and this does not:
CALCULATE ( SUM ( table1[x] ), FILTER ( table1, table1[y] = measure ) )
I had a sample excel where it worked fine in but i had to implement your VAR method for my SSAS and powerpivot model....