'UseRelationship() and CrossFilter() functions may not be used

I have created a measure using userelationship and crossfilter measure is working fine I put this on some visual and applied RLS. I have published this on my workspace but if someone try to look the value they got some visual error:

"userelationship and crossfilter function may not be used when QUERYING Because it is constrained by row level security defined on ".



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source