You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GET DIRECT DATA fails when there is a mapped dimension serving as an alias to the LHS dimension. For instance:
DimA <-> DimM ~~|
DimM: M1, M2, M3 ~~|
m[DimM] = GET DIRECT DATA( 'm.csv', ',', '1', 'B2' ) ~~|
The data is read from the file and converted into a lookup for each index in the dimension. The indices are separated before the code generation phase where this happens. Because of the dimension mapping, the subscript family of the lookup indices is set to the mapped dimension. The result is that first row of the CSV file is written for every index in the LHS dimension.
The mapped dimension must have a name that comes before the LHS dimension in an alpha sort.
The text was updated successfully, but these errors were encountered:
In this situation, the mapped dimension has the same indices as the LHS dimension but is a copy, so it's not actually mapped. We can find the LHS dimension that includes the index by a direct check against the dimension's indices.
GET DIRECT DATA
fails when there is a mapped dimension serving as an alias to the LHS dimension. For instance:The data is read from the file and converted into a lookup for each index in the dimension. The indices are separated before the code generation phase where this happens. Because of the dimension mapping, the subscript family of the lookup indices is set to the mapped dimension. The result is that first row of the CSV file is written for every index in the LHS dimension.
The mapped dimension must have a name that comes before the LHS dimension in an alpha sort.
The text was updated successfully, but these errors were encountered: