Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Count Total Error

I have this issue with my Pivot table

In my following screen shot Total Nos is 12 where as actual Nos should be 4 as can bee seen in 3rd screen shot. In 2nd screen shot Nos shown as 12

Screenshot_1.pngScreenshot_2.pngScreenshot_3.png

My Dimension & Expression   are shown below

Screenshot_4.pngScreenshot_4.png

What could be reason for the error. Pls correct where I am wrong

3 Replies
upaliwije
Creator II
Creator II
Author

On the further I noticed that since I have 3 items in the Value List count is taken 3 times

Chanty4u
MVP
MVP

try this


vMaxYear=max(riskyear)-1;


only change the set exp


,sum({<risk_year={$(vMaxYear)}>Nnos)

Anil_Babu_Samineni

May be use

Sum({<RISK_YEAR = {"$(=AddYears(Max(RISK_YEAR), -1))"}>} Nnos)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful