Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
I have a branch master table in which there are bank_code , branch_code, branch_desc and branch_address fields available.
By using this I want to display total no of branch for the same we are writing set analysis as below-
=count(distinct branch_desc) but it is not correct the actual count comes through this = count(distinct bank_code + branch_code) logic
= count(distinct bank_code + branch_code) this formula is working fine in Sql server and giving right result but in qlikview it's not giving the same result as comes through Sql Server.
It is possible in qlikview or not ?
Please anyone give me some idea how we can solve this problem .
Thanks
Hello,
you can try count(distinct bank_code & branch_code) in Qlikview
Hello,
you can try count(distinct bank_code & branch_code) in Qlikview
+ is for numeric addition
& is for string concatenation
So as Yoann says, use count(distinct bank_code & branch_code)
Hi Yoann Duval,
Thank you so much for the reply its working fine .