Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikview979
Specialist
Specialist

Rowno() count

Hi Experts,

PFA,

Here i want exclude the  blanks count .

  

Partner_NameInward_no &' -- '&RowNo()
A16MS2ADHC7838 -- 1
B16MS3SOS34969 -- 2
C16MS3SOS36890 -- 3
D -- 4
E -- 5
F16MS3SOS48772 -- 6
G16MS3TRB37584 -- 7
H16MS3TRB40266 -- 8
I16MS4ADHC6867 -- 9
J16MS4ADHC6902 -- 10
K16MS4ADHC6951 -- 11
L16MS4ADHC7835 -- 12
M16MS4ADHC7842 -- 13
N16MS4DEM48171 -- 14
O16MS4PPNC7830 -- 15
P16MS4SOS40478 -- 16
Q16MS4SOS40871 -- 17
R16MS4SOS43214 -- 18
S -- 19
T -- 20
U -- 21
V -- 22
W16MS4SOS46341 -- 23
X16MS4SOS46500 -- 24
Y16MS4SOS46501 -- 25
Z16MS4SOS46502 -- 26

Expected output:-

  

Partner_NameInward_no &' -- '&RowNo()
A16MS2ADHC7838 -- 1
B16MS3SOS34969 -- 2
C16MS3SOS36890 -- 3
D
E
F16MS3SOS48772 -- 4
G16MS3TRB37584 -- 5
H16MS3TRB40266 -- 6
I16MS4ADHC6867 -- 7
J16MS4ADHC6902 -- 8
K16MS4ADHC6951 -- 9
L16MS4ADHC7835 -- 10
M16MS4ADHC7842 -- 11
N16MS4DEM48171 -- 12
O16MS4PPNC7830 -- 13
P16MS4SOS40478 -- 14
Q16MS4SOS40871 -- 15
R16MS4SOS43214 -- 16
S
T
U
V
W16MS4SOS46341 -- 17
X16MS4SOS46500 -- 18
Y16MS4SOS46501 -- 19
Z16MS4SOS46502 -- 20

Regards

Mahesh

Labels (1)
24 Replies
Anil_Babu_Samineni

I replied to avinash, Check that expression and let me know?

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
qlikview979
Specialist
Specialist
Author

Hi Brother

Please check this two images

Qlikview Output

Qlikview output.png

Desired output

Desired output.png

Anil_Babu_Samineni

Before posting some thing, Please look at the repliers

if(aggr(Sum({<[VIN Number]=>}[Gross Amount]),[Partner Name])-aggr(Sum({<[VIN Number]=>}Deduction),[Partner Name])>0,

Serials&'-'& Aggr(RowNo(TOTAL), [Partner Name])&'\'&count( DISTINCT TOTAL [Partner Name]))

Here, Sasi has same . Could be helpful

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
avinashelite

Try like this

if(aggr(Sum({<[VIN Number]=>}[Gross Amount]),[Partner Name])-aggr(Sum({<[VIN Number]=>}Deduction),[Partner Name])>0,

Serials&'-'& aggr(RowNo(),[Partner Name]) &'\'&count( DISTINCT TOTAL [Partner Name]))

Oh sasi_k already give the solution .....

qlikview979
Specialist
Specialist
Author

Thanks for All

Regards

Mahesh