Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Relatively new to Qlikview and having problem setting up some simple chart formats.
I have a scenario with a table with 3 fields/columns.
FNumber, Rank, Value
FNumber is like a unique record identifier in this case and rank is determined by the value.
I want to create a bar chart displaying the Value as bar for each FNumber, but sorted by Rank.
The chart seem to allow only sorting for exiting Dimensions and not expressions.
The problem:
Is there an alternative way to approach this that I'm not seeing ?
Thanks.
If you define FNumber as dimension and Value as Expression, you still can sort by Rank. To be exact, you sort by dimension FNumber - but use sort order "by Expression" (see Sort tab), and Expression is
=Rank
You can choose Ascending or Descending.
Regards,
Michael
If defining Rank as dimension and Value as expression you work a but does not show duplicate values only checkbox is not accumulating values and to allow all values in the dimension
Can you try with a conditional expression in Rank?
If you define FNumber as dimension and Value as Expression, you still can sort by Rank. To be exact, you sort by dimension FNumber - but use sort order "by Expression" (see Sort tab), and Expression is
=Rank
You can choose Ascending or Descending.
Regards,
Michael
Thanks Michael, This is exactly what i was looking for.
follow up question,
Although I can use FNumber as the dimension, the bar displayed in the chart has the pop up description of FNumber, is there a way to changed it to display Rank as originally intended ?
It also possible.
First, use combo chart, not the bar chart. For you main expression (Value) use display option "Bar".
Next, create another expression for Rank. Define it as
'Rank=' & Rank
Uncheck all display options (Bar, Symbol, Line) but check "Text as Pop-up".
I hope it gives you what you need.
Regards,
Michael
Thanks, though i figure out a solution already,
Similar to your suggestion, but sticking with the Bar chart, i disabled pop up in the presentation tab and add all the custom expression(removing bar option) and enabled the 'text as pop up' option for them.
That's good - you'll remember what you do yourself better than any responses here