I have bit of a situation here. From the attached file, I would to create Dynamic Data ID Mapping based on the fields
DYNAMIC_FIELD_ID and DYNAMIC_FIELD_VALUE to create the New_Field_Name=Responsible Sub Business Unit. So in essence what I want to is something similar to this:
Map_Dynamic_FieldValue: LOAD[Dynamic Field ID], Value FROM [Static Files\Sample.xlsx] (ooxml, embeddedlabels, tableis [Data]);
LETvCount=NoOfRows('Map_Dynamic_FieldValue')-1; FORa = 0 to$(vCount) LETvDynamicID=peek('Dynamic Field ID',$(a),'Map_Dynamic_FieldValue'); LETvFieldValue=peek('Value',$(a),'Map_Dynamic_FieldValue');
I will then join it to some other table as
LEFTJOIN(TEMPAudit) DynamicFieldData: LOAD [Aud ID]AS[TEMP ID], [Dynamic Field Source Option Value]as[Audit $(vFieldValue)] FROM [..\QVD\TEMP\DynamicData_Value.qvd] (qvd) WHERE[Dynamic Field ID]=$(vDynamicID); NEXT; DROPTABLE Map_Dynamic_FieldValue;
My problem in this instance is that the field Value is has different Dynamic Field ID