Discussion board where members can get started with Qlik Sense.
Does Firstsortedvalue() function works in Load Script. It gives me Invalid Dimension if i load.
Go to Solution.
You have multiple fields without aggregation which you have not added to the GROUP BY statement... you have three options
1) Add these to the Group By statement
2) Remove them from the load statement
3) add aggregation around them
It should, what is the exact script you are trying? Also, did you have Group By clause?
FirstSortedValue( ACTION_INDEX,-R_C_Time_stamp) as R_C_Index,
Group By DOC_ID;