In my analysis service tabular project i have very simple two tables: sales_monthly (fact) and a V_DM_CUST_MASTER (dimension)
And in role defination:
So I put a static row filter to get only rows where province_code="130000" for V_DM_CUST_MASTER Also I put an user in member section. This user is not AD user. so i added it in 'Add External user'.
In my tableau server, i have set up an same named user and used that user to log on tableau server. This user is not an windows AD user. The report shows all the data. It should show sales for province_code = 130000 only. I was tring to set up a dynamic row filter using USERNAME() and LOOKUPVALUE functions but couldn't get it to work, so I created this test demo with only static filer, but it's still not working.