Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
pauldamen
Partner - Creator II
Partner - Creator II

Sorting only expression

Dear all,

I have a horizontal bar chart, which has only expression (different questions in a questionairre loaded from an excel file). It is counting the number of times a respondend answered that question (1 and 0 in excel). So excel looks like this: 5 colums for every question 1 and then every line is an responded. It says a 1 when the question is answered and  a 0 if not. So far so good.

So the horizontal bar chart counts how many times every question is answered. Now the part that I can't figure out: how to sort the expression, so I only want to see the top 5 of answered question. But since I only got expressions I can't sort it.

I attached the file hope you guys can help!

Regards,

Paul

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Check the attachment for solution.

Hope it helps you.

Regards,

Jagan.

View solution in original post

3 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Check the attachment for solution.

Hope it helps you.

Regards,

Jagan.

pauldamen
Partner - Creator II
Partner - Creator II
Author

It works great! Can you explain what you did?Because now there are 5 questions but it will be a list of 25

jagan
Luminary Alumni
Luminary Alumni

Hi,

I just created a temporary dimension using ValueList(). 

If you have 25 expressions then you need to use 25 if conditions, likewise i did for 5.

Regards,

Jagan.