Forum Discussion
Applying a segmentation filter to a DAX formula
- 4 years ago
icerdeira , You can use what if parameter
calculate(Avergae(Table[Value]), Filter(all(table), Table[Year] = [what if measure]))
icerdeira , You can use what if parameter
calculate(Avergae(Table[Value]), Filter(all(table), Table[Year] = [what if measure]))
- icerdeira4 years agoFrequent Visitor
Hello amitchandak ,
Thanks for your answer. I'm trying to do it and it says: Need one more argument in my function.
I created a what if, with the years from 2006 to 2025 and make the relation and it works ok.
There is something wrong on my formula.
Thanks!
Isaac
- Icey4 years ago
Community Support
Hi icerdeira ,
Closing parenthesis is missing after ALL('Mercado' and there is an extra closing parenthesis at the end of the expression.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.