Forum Discussion
Median giving incorrect values
- 4 years ago
It would be returning the median across the entire dataset, it wouldn't be split into any categories.
I just need the median from that summarized table returned so I can add it into existing matrix view as a benchmark. That code I linked works, and the filters are enabled, however when I turn on RLS, the figure also changes with the role. Unfortunately, that's why I'm using a summary table in the first place.
Ah, I don't know enough about RLS to be able to help with that.
- stevezly4 years ago
Helper I
I do find it strange though, that the RLS works fine when I use the summarize function in a calculated column, but it doesnt when i use it as a variable table.
- johnt754 years ago
Super User
Are you sure that RLS is being applied to the calculated table? The table would only be calculated during data refresh, so I don't think that RLS would come into effect - there wouldn't be any logged in user at that point
- stevezly4 years ago
Helper I
That's why I'm using the calculated table; to bypass the RLS filter. Although it seems like there is no solution to my problem as these calculations are incompatible with the slicer.