Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

how to write expression

Hello All,

                 i am able to achieve my requirement  partially . the thing is i am trying to display only those materials,spend which has supplied by multiple vendors

Expressions i tried :

1)Sum({<SCOPE={'Yes'},Material={"=Count(Distinct [VENDOR CODE)>1"}>}SPEND)

2)If(Count(distinct TOTAL <Material> [VENDOR CODE])>1,Sum({<SCOPE={'Yes'}>}SPEND))


but both the expressions are giving me list of  multiple vendors and single vendors materials , as below


Capture.PNG

All the 100% rows are  single vendor supplied material

so how to not display this 100% rows

Any suggestion plz.....

15 Replies
tajmohamed30
Creator III
Creator III

my suggestion you can do it in dimension limits show values less than 100% in your chart

effinty2112
Master
Master

Hi Naveen,

          Try:

=count(Aggr(if(Count(DISTINCT [VENDOR CODE]) >1,Material), Material))

good luck

Andrew

kunkumnaveen
Specialist
Specialist
Author

actually i need to implement it in Qlik sense ,i think in qliksense there is no dimension limits option....have u got any alternative way or expression to achieve this requirement ..pz

kunkumnaveen
Specialist
Specialist
Author

hi,thanks for your reply

Actually i am looking for sum of spend

kunkumnaveen
Specialist
Specialist
Author

can any suggestion, how to achieve this requirement plz

kunkumnaveen
Specialist
Specialist
Author

Still look for the suggestions ,in achieving this requirement

Anonymous
Not applicable

please post a sample...

kunkumnaveen
Specialist
Specialist
Author

actually i work in remote server ,so all the app are over there ...can u suggest with any sample expression for this scenario other then i tried plz

effinty2112
Master
Master

=count(Aggr(if(Count(DISTINCT [VENDOR CODE]) >1,Spend), Spend))