Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Grab the current name of the dimension in a chart

Hello Community,

I have the following problem:

I got an Excel-Table loaded into my Application where the user can enter which kinds of mistakes should be counted:

Component  Mistake1  Mistake2 Mistake3

Window        ripped       leaky          ....

....                 ...                 ....         ....

Also i got another Table where all mistakes and their kinds are registered.

What i want to do now is to create a Chart, which lists the components and counts all mistakeIDs of the Mistakes, but only the kind of mistakes entered by the user (in this case ripped, leaky for the window)

To make it a bit more clear:

If the table had only one line, this kind of formular would work:

count({<mistakes..MistakeKind ={'$(=Only(Mistake1))', '$(=Only(Mistake2))', '$(=Only(Mistake3))'} >} mistakes..ID)

So the problem is that qlikview doesn't know it should only select mistake1 for the window in the first line so the Only function runs through the whole table and returns null of course. How can i get the entry of the mistake fields only for the current dimension in the line of the chart? i know there is no function like thisdimension() or something.

Thanks for the help,

Patrick

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Can you post a small qlikview document that explains what you're trying to do?


talk is cheap, supply exceeds demand