Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Only Problem

Hey,

I am attaching an application where i ahve tried to see the working of ONLY().

But, in straight table:

1: Why i am not getting "Robert" as SalesPerson Name

2: Under Only Sales: according to me output should be:

Salesman     Only Sales

                    -

Henric         10

John            10

Oleg            10

Tom            10

Please tell where i am wrong?

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

Yes and it works in that way, your expression is only(Total sales) that is you are not considering salesman as dimension ...

View solution in original post

8 Replies
Anonymous
Not applicable

Robert has no revenue

When you goto tab presentation and unclick "suppress Zero values"

you will see Robert

qlikmsg4u
Specialist
Specialist

Only works if there is only one single value, if there are more than 1 value it returns null

alexandros17
Partner - Champion III
Partner - Champion III

Take a look ...

nikhilgarg
Specialist II
Specialist II
Author

Hey,

Thanks but for Only(Sales) they should return value except for Robert becoz for every salesperson other than Robert, Sales has unique value only.

nikhilgarg
Specialist II
Specialist II
Author

Hey,

Thanks but for Only(Sales) they should return value except for Robert becoz for every salesperson other than Robert, Sales has unique value only.

nikhilgarg
Specialist II
Specialist II
Author

Hey,

Thanks but for Only(Sales) they should return value except for Robert becoz for every salesperson other than Robert, Sales has unique value only.

alexandros17
Partner - Champion III
Partner - Champion III

Yes and it works in that way, your expression is only(Total sales) that is you are not considering salesman as dimension ...

nikhilgarg
Specialist II
Specialist II
Author

oopss my bad.

Thanks for pointing that i have used Total