Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I've a table (UserPermission) with 3 columns (USERID, REGION, DIVISION). i need to filter out the data for a particular userid connected to the server and then create a measure for Region and division. Below is how the data looks like
UserID | Region | Division |
corp\abcded | Americas | NULL |
corp\abcded | Americas | Globals |
corp\abcded | Americas | NULL |
corp\abcded | Americas | Americas |
I've tried using the below query, but the issue here is it doesn't return me the disticnt values.
RegionMeasure:=
CONCATENATEX(FILTER(RELATEDTABLE(UserPermission),UserPermission[UserId]=USERNAME()),UserPermission[Region],",")
output expected - Americas
DivisionMeasure:=
CONCATENATEX(FILTER(RELATEDTABLE(UserPermission),UserPermission[UserId]=USERNAME()),UserPermission[Division],",")
output expected - Globals,Americas (order doestn't matter)
@Anonymous , why you need related table, is not clear to me , Try like
CONCATENATEX(FILTER(UserPermission,UserPermission[UserId]=USERNAME()),UserPermission[Division],",")
Hi Amit,
It doesnt give me the distinct list, it concatenates all the values and the output will be like - "Americas, Americas, Americas, Americas".
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
14 | |
11 | |
7 |