Forum Discussion
Help please
- 3 years ago
Hi Anonymous the best practice for ALLSELECTED function in DAX is just use it for visual. Do not use in measure that contain ALLSELECTED. In your example "Cur Bal running total in Co Year 2" measure contains ALLSELECTED and in Measure 3 you call it ("Cur Bal running total in Co Year 2" measure).
Reference: https://www.sqlbi.com/articles/introducing-allselected-in-dax/
You should rework you measure/s.
I hope this help
Hi Anonymous the best practice for ALLSELECTED function in DAX is just use it for visual. Do not use in measure that contain ALLSELECTED. In your example "Cur Bal running total in Co Year 2" measure contains ALLSELECTED and in Measure 3 you call it ("Cur Bal running total in Co Year 2" measure).
Reference: https://www.sqlbi.com/articles/introducing-allselected-in-dax/
You should rework you measure/s.
I hope this help