Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

Value doesn't match

Hi All,

I have one bar chart and pivot table in that i have used same dimension and expression but why value has changed.

PFA for the same

Pivot.png

Bar.png

Thanks

Prashant

18 Replies
robert_mika
Master III
Master III

I'm working on personal edtion so can not open the file but if you can post your data,espression & dimension I can have a look

sunny_talwar

What is the expression you are using to calculate Total TP/Unit in your pivot table? If it is any other then Sum, then you will need to use an aggregate function like this:

=Sum(Aggr(yourExpression, [Pack Year], [Supplier Name]))

Note: The above expression is assuming that you only have Pack Year and Supplier name as your dimension in the pivot table.

HTH

Best,

S

Not applicable

Hi,

In your expression tab of pivot table, Click on Sum of rows in Total Mode.

Regards

Nandkishor S. Pandirkar

prma7799
Master III
Master III
Author

Hi All,

I don't want to change any expression in Bar chart I want same output as like Pivot Table.

Thanks
Prashant

robert_mika
Master III
Master III

Post your data/dimension/expression....

prma7799
Master III
Master III
Author

Unable to send the data

PFA for dimension/expression

robert_mika
Master III
Master III

prashantbi wrote:

Unable to send the data

You can not attached or are the confidential?

If is the first case :

Go t:

Advance Editor.jpg

An and then:

Attached.jpg

prma7799
Master III
Master III
Author

Hi .

PFA for Pivot table description.

Thanks

Prashant

jagan
Luminary Alumni
Luminary Alumni

Hi,

Pivot table total will be based on the expression, so it is difficult to show that in Bar Chart and also it is not a correct value, if you sum the value in pivot table the total is not correct.

To fix the Total in Pivot table you can use you should use aggr()

Sum(Aggr(yourExpression, [Pack Year], [Supplier Name]))

Hope this helps you.

Regards,

Jagan.