Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using distinct but multiple lines displayed

Hello -

I'm trying to create a straight table which displays distinct 'Batch.BatchID' when the 'LIID' is not 10000, but I'm still getting multiple lines for each BatchID when using the following expression:

count(distinct if(LIID<> '10000', Batch.BatchNbr)) 

Any ideas?

Thanks,

Lindsay

5 Replies
evan_kurowski
Specialist
Specialist

You may have undisplayed fractions on some of those values.  Does LIID have any data below the decimal point?

Digvijay_Singh

Any reason you are using single quote around 10000? If its a number you can directly compare without embedding it with quote.

sudeepkm
Specialist III
Specialist III

could you pls upload your qvw file if possible.

I'm not clear what are your dimensions and expression.

Digvijay_Singh

Your expression as Batch.BatchNbr but in details you have used Batch.BatchID. Hope it is just a typo

Not applicable
Author

Hi Can you attach a sample qvw.