Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI Community,
I will try to explain my problem as clear as possible.
I have a pivot table with two dimensions (QuestionText and Answer) in a rows and three (Zone, District, Dealer) in the columns .
in my expression I need to display the % of each answer in each question.
So it is pretty easy
sum({<QuestionNumber = {'30','32'}>} msrAnswerCount)
/
sum({<QuestionNumber = {'30','32'}>}total <QuestionText> msrAnswerCount).
My Problem is that in Total Labels;
I get it like this
:
But I want Like this:
It is working when I do not use the Total Function in expression bit when I do the labels appears on every column.
Please let me know if it is clear or you need more clarifications.
Are you saying that when you use this, it works?
Sum({<QuestionNumber = {'30','32'}>} msrAnswerCount)
/
Sum({<QuestionNumber = {'30','32'}>} msrAnswerCount).
But this should always give you 1, right?
Hi Sunny,
Yes that is right, but when I add <total> function the labels appears on every column title.
I am confused, you want 100% or you don't want 100%? Can you elaborate as to what you want?
The problem is not in calculation.
The result is fine my problem is with Total Labels Titles
Please see the highlighted area of two images:
I get this:
But I want this:
Hope this explains
Oh, I see... may be omarbensalem have ideas...
OK, Omar or somebody else can you help me with that
Have you attach your qvf file to test?
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others
Hi Pablo,
Thanks for a note.
There was no helpful or correct answer.
I am still waiting if somebody can answer my question.
When I receive correct or helpful answer I will definitely mark it is.
Thanks