Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm trying to create a measure that shows the overall total in a Fact table when placed in a visual, however if the measure is placed in a visual with a Dimension table with RLS like a table, I would like the table total in that visual to reflect only the total the user can see.
For example, if the "Total Sales" measure is used on its own with no dimensions then it should show the total for everything.
If the Customer dimension is used (which has RLS) then I would like the measure to calculate the total based only on the Customer Group the user is able to see.
I've tried using ISFILTERED but then I get the whole total in the bottomm table grid, presumably because the total is not filtered and therefore shows everything.
Any pointers would be appreciated.
Thanks
Solved! Go to Solution.
@AndyDDC , Try isinscope and hasonevalue and check
https://xxlbi.com/blog/new-dax-function-isinscope/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
@AndyDDC , Try isinscope and hasonevalue and check
https://xxlbi.com/blog/new-dax-function-isinscope/
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |