Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Sxbbb
Creator III
Creator III

select the correct fields and values. Don't select a field. Invalid value

Retest : 

(Sum( 

{$<DATE={">=$(=max(Date_Start))"}, Day=, Month=, Year=>}
[RE-TEST]))

Select FX_FixtureID ='20220282'

Results :

Sxbbb_0-1721187703252.png

 

 

But if FX_FixtureID is not selected, the value is wrong. 

Sxbbb_1-1721187703232.png

Table RetestReport 

Load FX_FixtureID ,
         DATE,
         DATE_ARRAY,
         KEY_ARY  

FROM [source];
Table Retest 
Load  KEY_ARY  ,
          Retest 
FROM [source];
Table Header 
     Load  FX_FixtureID  ,
                Date(if(IsNull(ET_StartDatetime) ,Date(ET_CreateDate),Date (ET_StartDatetime))) as   Date_Start
FROM [source];         


The problem I encountered was that I had to select FX_FixtureID to make =max(Date_Start) display. What should I do?

 

1 Reply
lennart_mo
Creator
Creator

Hi @Sxbbb,

i think what may help you in this case is creating a field with the max(Date_Start) for each FixtureID rather than using the function in the set analysis, since this should give you the max Date_Start for all FixtureIDs.

So an option would be an addition to your script like

Left Join(Table Header)
Load
FX_FixtureID,
Max(Date_Start) as Max_Date_Start
Resident Table Header
Group By FX_FixtureID;

 and adjusting your set analysis to

{$<DATE={">=Max_Date_Start"}, Day=, Month=, Year=>}

 Let me know if this works for you!