Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
kishorj1982
Creator II
Creator II

Qlikview distinct count

Hi all,

PFA.

I am using pivot table.I need to show distinct values for customers I am using count(distinct custno).

In first tab Summation for total as per column is matching but summation for total as per row is not matching.Can you please suggest how shall i proceed.

I need to show distinct custno in other chart in second rab that should also match.

I have shown both charts in separate tab.

Please suggest.

Thanks

9 Replies
RonaldDoes
Partner - Creator III
Partner - Creator III

Unfortunately, I can't open the QVW.

qlikview979
Specialist
Specialist

Yes,I am also not able to open your document.

Anil_Babu_Samineni

Try to re attach the qvw, Doe to fail while open the APp

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
kishorj1982
Creator II
Creator II
Author

PFA.

It should be open now.

Thanks

vinieme12
Champion III
Champion III

it's because there are there are multiple Custno that have more than one PaymentTermDesc

See attached i've added a table to show these Custno's

Dimension

Custno

PaymentTermDesc

Expression

Count({<CustNo = {"=Count(DISTINCT PaymentTermDesc)>1"}>}DISTINCT PaymentTermDesc)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
kishorj1982
Creator II
Creator II
Author

Hi ,

thanks for the response.

Second tab is for detail level if in first tab total count is 2 then in detail level deials of  only 2 cust shoulds display.

Can you please suggest what shall i do in second chart.

Thanks

vinieme12
Champion III
Champion III

sorry what do you want exactly?

Your actual distinct count is 1220

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
kishorj1982
Creator II
Creator II
Author

when we can go in detail,level selection for only these customers should display instead of showing whole customers.

When ever i can select counrt count of summary level chart and detail level chart should match

Thanks

vinieme12
Champion III
Champion III

the counts will match if you make a selection on PaymentTermDesc

if one customerno is repeated in multiple PaymentTermDesc then how can you expect unique count?

Can you show by example what you want?

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.