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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Straight Table to Gauge changing values

Hi,

I have a straight table showing the correct result of a simple calculation I'm doing to narrow down a bigger problem but when I convert the table to a gauge as it should be displayed, the values show differently on the gauge and the gauge's text in chart.

I've attached a simplified version of the file.

thanks,

S

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Hi, I believe that just show the last value for you chart.

If you change your chart to Straight table, you can see two rows, and the value that show are the last.

If you copy the expression in the text chart and delete all dimensions, to expression chart values will be show correct.

View solution in original post

4 Replies
Not applicable
Author

Hi,

You need to use function AGGR because you have a dimension on the gauge.

But the gauge show the last value, so i do the AVG how your straight table "36.50".

In Text Chart (Gauge) use this formula:

"=AVG(AGGR(avg({<YMDate=DisplayYM,SMD_WarehouseName={'Atlas'}>} (Last_Sales_date - DateReady)), SMD_Reference, DateReady, Last_Sales_date, SMD_WarehouseName))"

Not applicable
Author

Hi Eduardo,

Thanks for the reply. It works perfectly for the text in chart but the gauge chart's needle doesn't show the same value.

Why would that be happening?

S

Not applicable
Author

Hi, I believe that just show the last value for you chart.

If you change your chart to Straight table, you can see two rows, and the value that show are the last.

If you copy the expression in the text chart and delete all dimensions, to expression chart values will be show correct.

Not applicable
Author

Thank you very much Eduardo, I appreciate your help. It works now.