Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have a table "D_CLINICAS" that one ID has many tenant_id associated.
I need use this values like IN expression values at RLS FILTER. (tenant_id IN {4,1511,5820,7891}
My dax return this values
Expression on RLS
When i test this Role, Broken the visuals and says:
"Can not convert the values '7891,4,1511,5820' of type text to number type"
Solved! Go to Solution.
@marcio_fornari , Create a table in var and use that in IN
example
measure =
var _tab = summarize(filter(Table,{empresa_id]=4),[tenant_id])
return
calculate(sum(Table[Value]), filter(Table,Table[tenant_id] in _tab))
@marcio_fornari , Create a table in var and use that in IN
example
measure =
var _tab = summarize(filter(Table,{empresa_id]=4),[tenant_id])
return
calculate(sum(Table[Value]), filter(Table,Table[tenant_id] in _tab))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
20 | |
19 | |
15 | |
15 |
User | Count |
---|---|
46 | |
28 | |
25 | |
18 | |
17 |