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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
marco_puccetti
Partner - Creator
Partner - Creator

Graph column in Pivot Table

Hello i need to add a graph dimension in a pivot table, can you tell me how to set the minimum and maximum range in the settings?

I set the minimum and maximum like 0, 999999999 but it seems to not show me nothing of significant data.

Thanks

Marco

14 Replies
ali_hijazi
Partner - Master II
Partner - Master II

you can specify this in the expression itself

for example I got a pivot table and i have a cell to display count of a metric from a date date1 to a another date date2

the expression is as follows:

count

  (

  DISTINCT

  {

  <

  Year=

  ,Month=

  ,CALENDAR_DATE={">= $(vFromDate) <=$(vToDate)"}

  ,RECORD_TYPE={'WASTE'}

  >

  }TEST_ID)

and the result is as follows:

Untitled.png

I can walk on water when it freezes
marco_puccetti
Partner - Creator
Partner - Creator
Author

I need a graphic column that represents the previous numeric count of data.

In my example there is a field that contains the count of a field, so i need a graphic expression used to show this in a linear graph mode.

This is the expression:

Immagine.jpg

The settings

Immagine1.jpg

This is the result

Immagine2.jpg

ali_hijazi
Partner - Master II
Partner - Master II

86 compared to 99999999 is too small to be represented

instead of putting 99999999 put an expression like =max(your_field)

I can walk on water when it freezes
marco_puccetti
Partner - Creator
Partner - Creator
Author

If i use this expression, in the column:

=Max(Count({< FLAG_SMATERIALIZZATO = {"S"}>}FLAG_SMATERIALIZZATO))

is reported this error:

"Minimum and Maximum Value wrong for the graph". (I have translated from itaian version)

Marco

ali_hijazi
Partner - Master II
Partner - Master II

use max(aggr(sum.....,your_dimension))

I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II

can you send me a sample qvw file?

I can walk on water when it freezes
marco_puccetti
Partner - Creator
Partner - Creator
Author

What do you intend for dimension in case of use of this formula:

=Max(Count({< FLAG_SMATERIALIZZATO = {"S"}>}FLAG_SMATERIALIZZATO))


Marco

ali_hijazi
Partner - Master II
Partner - Master II

use

max(aggr(count({< FLAG_SMATERIALIZZATO = {"S"}>}FLAG_SMATERIALIZZATO)),Dimension))

Dimension is the column you added in your dimension list

I can walk on water when it freezes
marco_puccetti
Partner - Creator
Partner - Creator
Author

I have added this expression:

max(aggr(count({< FLAG_SMATERIALIZZATO = {"S"}>}FLAG_SMATERIALIZZATO)),DATA_PRES)

But it still doesn't work.

Marco