Forum Discussion
How to Keep All Values of a Field When Using Measure on a Table Visual
- Anonymous2 years ago
Hi rashidanwar
Glad to hear you solved the problem yourself! Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
rashidanwar , You can create a measure using ALL function which keeps all the values of title
approved_amount =
CALCULATE(
SUM('YourTableName'[amount]),
ALL('YourTableName'[approval_date])
)
- rashidanwar2 years ago
Advocate II
Thank you bhanu_gautam for your response.
ALL removes all the filter contexts so in our case we have outer filters as well coming from the Slicers. ALLSELECTED could do the job. I tried it but it doesn't work in my scenario. I am experiencing the same behaviour as before using the ALLSELECTED.