We all know about the limitation on the Dataexport command as
we do not have much control over the formatting and ordering of columns. But
one is sure that this is one of the fastest way to get the output as compared
to Report Script.
An interesting observation was when using DATAEXPORTOPTIONS.
I wanted to extract level zero data from all dimensions except one upper level member from measure dimension. Measure hierarchy was something as follows and wanted to extract value of Balance which is upper level member.Balance
- Calculated Balance (+)
- Adjusted Balance (+)
To my surprise, following code gave the required output:
SET DATAEXPORTOPTIONS
{
DataExportLevel LEVEL0;
}
FIX("Balance")
DATAEXPORT "File" "," "output1.out";
ENDFIXBased on this, one can extract upper level member even when DataExportLevel is set to LEVEL0.
No comments:
Post a Comment