Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
bhaveshp90
Contributor III

What is wrong in the expression?

Hello, 

I am having the following table Summary as shown below;

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

The PAC Date is showing the same for all project numbers; My expression for PAC Date is

= Max(TOTAL{<Overview_Milestone_Point = {'Go Live/Beneficial Use/PAC'}>}Date(FC))

But when Project number is selected it is showing correct date as shown below; 


1.PNGWhat is wrong in my expression for PAC Date? attached is qvw for reference. 

Labels (1)
1 Solution

Accepted Solutions
bhaveshp90
Contributor III

Re: What is wrong in the expression?

I've used PAC Date as Expression instead of Dimension and is showing correct date now

= Max(TOTAL<Project_Number>{<Overview_Milestone_Point = {'Go Live/Beneficial Use/PAC'}>}Date(FC))

1.PNG

2 Replies
Donicc
New Contributor II

Re: What is wrong in the expression?

You asked for the MAX date so it is displayed. The correct date is shown when you select project number because  that PAC date is the MAX date for the selection. Try removing MAX function and see if you get what you expect.

bhaveshp90
Contributor III

Re: What is wrong in the expression?

I've used PAC Date as Expression instead of Dimension and is showing correct date now

= Max(TOTAL<Project_Number>{<Overview_Milestone_Point = {'Go Live/Beneficial Use/PAC'}>}Date(FC))

1.PNG