Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
bhaveshp90
Creator III
Creator III

Need help with Expression

Hello, 

I have a table with correct YTD and MTD values shown below; 

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

I am trying to create a pivot table as shown below

1.PNG

 

 

 

 

So, When I removed Month and Project Number from my original table the YTD and MTD values are changed? I tried multiple ways to fix this but I didn't get the correct values as my original table. (as shown below)

1.PNG

 

 

 

 

 

 

 

 

What should I change in my YTD and MTD expression so that I can avoid Project Number and Month in the pivot table? Attached is the file for reference.

 

thanks

Bhavesh. 

 

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

If you are using QV12 or above.. try the attached

View solution in original post

4 Replies
pradosh_thakur
Master II
Master II

from the screenshot it seems like it is showing the correct total . The green in country column in the first tab shows you have china selected .So the YTD and MTD are matching those of china.I see nothing wrong here unless i am missing something obvious.
Learning never stops.
bhaveshp90
Creator III
Creator III
Author

The second image is Excel sample data that I'm trying to get it. I've update my question now, please refer above

sunny_talwar

If you are using QV12 or above.. try the attached

bhaveshp90
Creator III
Creator III
Author

you are awesome @sunny_talwar , thank you very much Smiley Happy