Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis -- clarification

 Hi All,


      I am doing a Dashboard where I have to show a pivot table which has the data about the Plan Cost and Actual cost.Actual cost is working fine in the Table.I have a problem with the set analysis expression.


This is the onI have used in the chart


<SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;">

count({<Month_Cost = {'June'},Month= {'June 2011'},[Travel Mode] = {'Flight'}>}Cost_Targets) .I have two months in the table.




Month is the field present in the fact table.Month_cost is the field which is connected to the fact table using Region field.


<SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;">


<SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a" mcestyle="font-size: 8pt; color: #5a005a;">


<SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a; FONT-FAMILY: " mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a; FONT-FAMILY: " mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a; FONT-FAMILY: " mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a; FONT-FAMILY: " mcestyle="font-size: 8pt; color: #5a005a;"><SPAN style="FONT-SIZE: 8pt; COLOR: #5a005a; FONT-FAMILY: " mcestyle="font-size: 8pt; color: #5a005a;">I have used the



 


 


 








 


 































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































 

14 Replies
Not applicable
Author

If you are not able to find the QV document I have attached the application in the Qlikview community.please find the same with below subject line…

set analysis Clarification <http://community.qlik.com/message/124425#124425

Not applicable
Author

Yes I used all the expressions that you have mentioned. I am attaching the application again..

Anonymous
Not applicable
Author

Like I thought, a typo 🙂

     Month= {'June 2011'}

Must be

    Month= {'Jun 2011'}


Not applicable
Author

I have given in the correct format… but dnt know why it is not coming… Do you have any idea about using the ONLY function here….

Anonymous
Not applicable
Author

If you change this:

      sum({<Month_Cost = {'June'},Month= {'June 2011'},[Travel Mode] = {'Flight'}>}Cost_Targets)

to this

     sum({<Month_Cost = {'June'},Month= {'Jun 2011'},[Travel Mode] = {'Flight'}>}Cost_Targets)

It works, right?