Forum Discussion
ALLEXCEPT function not working properly
- 3 years ago
Even putting it as you said I couldn't achieve what I want. But I found another way to do it. I used the ALLSELECTED() function like this:
CALCULATE([NSB ACT], ALLSELECTED('TB_AFO_ACT+AOP'[visual dimension1],'TB_AFO_ACT+AOP'[visual dimension2],'TB_AFO_ACT+AOP'[visual dimension3],'TB_AFO_ACT+AOP'[visual dimension4]))I just selected all the dimensions in table visual rows and it worked. It was always getting the correct total.
The only limitation is that you must use only a single table to filter, in this case TB AFO ACT+AOP. You can use the RELATED() for this issue.Thank you anyway!¡
Hi, t055169b ;
Because there is no date column in your picture, the grouping of measures is dynamic, there is no date column, how to group for date columns?
I'll give a simple example of the comparison between putting a date in the matrix versus not putting a date.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Even putting it as you said I couldn't achieve what I want. But I found another way to do it. I used the ALLSELECTED() function like this:
The only limitation is that you must use only a single table to filter, in this case TB AFO ACT+AOP. You can use the RELATED() for this issue.