Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
Yes I used all the expressions that you have mentioned. I am attaching the application again..
Like I thought, a typo 🙂
Month= {'June 2011'}
Must be
Month= {'Jun 2011'}
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….
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?