Forum Discussion
Parameter is not working as expected
- 7 years ago
hi, Anonymous
First, you must know that calculated column and calculate table can't be affected by any slicer.
Notice:
1. Calculation column/table not support dynamic changed based on filter or slicer.
2. measure can be affected by filter/slicer, so you can use it to get dynamic summary result.
here is reference:
https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
Second, you just need to create a measure instead of column by this formula:measure : PostiveNegative = IF(Division[value]>Parameter[Parameter Value],"Positive", "Negative")
Best Regards,
Lin
hi, Anonymous
First, you must know that calculated column and calculate table can't be affected by any slicer.
Notice:
1. Calculation column/table not support dynamic changed based on filter or slicer.
2. measure can be affected by filter/slicer, so you can use it to get dynamic summary result.
here is reference:
https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
Second, you just need to create a measure instead of column by this formula:
measure : PostiveNegative = IF(Division[value]>Parameter[Parameter Value],"Positive", "Negative")
Best Regards,
Lin
- Anonymous7 years agoNot applicable
Thanks for your answer!
I rewrote the logic to a calculated measure and that works!