Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
chriys1337
Creator III
Creator III

Show / pick n-Value of a dimension

Hi,

I have a dimension "department" with 10 different values, e.g. department Sales, department Trade, department Housekeeping and so on...

Now I would like to use set Analysis to show the n-value, e.g. the third one (department Housekeeping).

Is this somehow possible?

I can find out, that there are 10 different values by counting distinct the dimension. But how to pick different dimension values, without "naming" them in Set Analysis (because the departments could grow, I would like to use a number...)

 

 

Labels (1)
1 Solution

Accepted Solutions
treysmithdev
Partner Ambassador
Partner Ambassador

I think FieldValue can be used to do what you want:

Count({$<department = {"$(=FieldValue('department', 3))"}>} Names)

 

Blog: WhereClause   Twitter: @treysmithdev

View solution in original post

1 Reply
treysmithdev
Partner Ambassador
Partner Ambassador

I think FieldValue can be used to do what you want:

Count({$<department = {"$(=FieldValue('department', 3))"}>} Names)

 

Blog: WhereClause   Twitter: @treysmithdev