Map blank members in the import file using the BLANK keyword.
In certain cases, the file you are importing may contain blanks. For example, the source system may not have a cost center value in the file that it produces.
| Account | Currency | Date | Entity | Cost Center | Amount |
| 1000 | USD | 2023 Dec | 120 | 000 | 100 |
| 1000 | USD | 2023 Dec | 120 | 101 | 200 |
| 1000 | USD | 2023 Dec | 120 | 102 | 300 |
| 1000 | USD | 2023 Dec | 120 | 103 | 500 |
| 1000 | USD | 2023 Dec | 120 | 9999 |
In the sample data import file, you need to be able to specify where the data should map to when blanks are met.
For example, should it be mapped to a member, such as No Cost Center or should it be ignored? You can use the <BLANK> keyword to achieve this.
Map blank members
To map blank members in the import file:
- Create a new Member Map for the dimension that may contain blank members.
- Add the member mappings.
- Use the <BLANK> keyword in the Source Value column to map blank members.
- Select the member to map to in the Mapped Value column.
In this table, any rows with blank Cost Centers in the import file will be mapped to the [No CostCenter] member in.
| Dimension | Mapping Type | Source Value | Mapped Value |
| CostCenter | Exact | 000 | No CostCenter |
| CostCenter | Exact | 101 | 101 |
| CostCenter | Exact | 102 | 102 |
| CostCenter | Exact | 103 | 103 |
| CostCenter | Exact | <BLANK> | No CostCenter |
- Save the changes.
- Refer to this Member Map in the appropriate Dimension Field Settings when configuring the corresponding Data Import Definition.
Skip blank members
To skip a row with a blank member:
- Create a new Member Map for the dimension that may contain blank members.
- Add the member mappings.
- Use the <BLANK> keyword in the Source Value column to skip blank members.
- Use the SKIP keyword in the Mapped Value column.
Blank cost centers will be skipped. - Save the changes.
- Refer to this Member Map in the appropriate Dimension Field Settings when configuring the corresponding Data Import Definition.
| Dimension | Mapping Type | Source Value | Mapped Value |
| CostCenter | Exact | 000 | No CostCenter |
| CostCenter | Exact | 101 | 101 |
| CostCenter | Exact | 102 | 102 |
| CostCenter | Exact | 103 | 103 |
| CostCenter | Exact | <BLANK> | SKIP |
Note:
- To upload blanks to the Staging Table, the table must be created so that the column is designated as Nullable.
- The BLANK keyword isn't limited to manual File Import tasks. The <BLANK> keyword can be used in Member Maps that are used in Data Transfer tasks as well as Automated File Import tasks, as these tasks can also be configured to use a Data Import Definition that refers to a Member Map.