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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

Loading Fields as variables ( Data Model)

Dear all,

I have 3 tables loaded using Qualify prefix , Following are my data model along with 3 tables , i loaded excel file with some fields which i want to use as a variables for displaying cost of each opportunity.

=sum(vInititiavtiveCharges)

vInititiavtiveCharges - I want to calculate each opportunity sum as per user selected in list also i have 4-5 fields as variables i want to use in my dashboard please suggest how to achieve this ?

Store each opportunity amt into Variable and show total dynamically.

Many Thanks

Vikas

Message was edited by: vikas mahajan

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
14 Replies
tresesco
MVP
MVP

Hi Vikas,

What is your measure and expected output?  Please explain more on expected.

vikasmahajan
Author

Measure - > SUM(AMT)

Sum(Amt) for opportunity which user select from list box.

For Example

NonPrdBKp - > sum(Amt)

BKPPRD ->  Sum(amt)

NASBKP -> Sum(AMT)

As per user selection.

Thanks

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
tresesco
MVP
MVP

I don't see any field called opportunity.

vikasmahajan
Author

Initative is nothing but opportunity.

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
Author

Please let me know any details you required ?

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
tresesco
MVP
MVP

Data model is yours and that 'nothing but...' is obvious for you but me.

And yes, I am not yet sure about your requirement. Lets take a case: you select 'Backup Deocm - Non PROD' , what is expected output (please explain the logic as well)?

vikasmahajan
Author

Thanks Tesesco , I have made little modification's in QVW and attached again following are my requirement

If user select  Backup - Non PROD from list box  then  in text box  i want to display the total amt for (Backup - Non PROD) initiative/opportunity dynamically .

7130.24 sum of amt for  Backup - Non PROD opportunity and rest accordingly as per user selections.

Thanks

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan
Author

Still require more details ?

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
jonathandienst
Partner - Champion III
Partner - Champion III

er.. and sum(Amt) does not work? In what way is it incorrect? I do not understand what the problem is.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein