Excel Integration: Step-by-Step Explanation
Go to the Excel Integration section in the DATA tab to set up and manage your Excel. ๐๐โโ๏ธ
๐คUpload Template:
This is the first step in creating a custom Excel template. It lets users upload a sample Excel file ๐๏ธ, which will be the basis for mapping and structuring raw data into a platform-compatible format. Here's how it works:
๐Template Name: Users start by assigning a unique name to the template they are about to create.โ๏ธ
If the Excel file contains business travel data, the template name could be โBusiness Travel Data Excel.โ This name helps users easily identify templates later for editing or reuse.โ๏ธ
๐ขStarting Rows: Users specify the row number where data begins in the uploaded Excel file (e.g., row 6).
This ensures the platform skips headers or irrelevant information in the file and focuses only on the actual data. โ
๐Upload Excel File:
- The uploaded file must be in
.xlsx
format๐. - Users can drag and drop or browse๐ to upload their files.
- Once uploaded, the system processes the file:
- Validation Stage๐: Users see a progress indicator as the platform scans the file๐, extracts unique column values, and validates its structure.
- Successful Upload๐: A confirmation message appears with the file name displayed๐. Users can delete๐๏ธ and re-upload๐ the file if necessary.
๐Users must first input the starting row value before the upload option becomes active.
๐คThe system simplifies the process by automating column recognition, saving users time and reducing manual effort.โฑ๏ธ๐ช
This step sets the foundation for a seamless and efficient later-stage mapping process. Once the file is uploaded and recognized, users can define columns, activity data, emission factors, and other parameters.๐๐
๐๏ธDefine Columns
This step ensures that the data columns in the uploaded Excel file are correctly mapped to the corresponding fields in the platform.๐ ๏ธ The process involves reviewing, previewing, and mapping the columns to align with the platform's data requirements.
๐Columns in the File:
- After uploading the Excel file, all the columns are automatically listed under the "Columns in the File" section.๐๏ธ
- The names of the columns appear exactly as they are in the file, maintaining familiarity for the user.๐
๐Data Preview:
- A sample of the data within each column is displayed to give users a quick overview of its content.๐
- This preview helps users verify that they are mapping the correct column.โ
๐Platform Fields Mapping:
The "Platform Fields" section allows users to assign each Excel column to a corresponding field in the platform.๐ ๏ธ
A drop-down menu provides various options for mapping, such as:
- ๐Activity Quantitative Data: For numerical data related to activities.
- โป๏ธEmission Factors: For columns containing emission factor data.
- ๐ท๏ธEmission Activity Type: To categorize the activity type.
- ๐Location of Emission: For columns related to specific locations.
- ๐ Date: For date-related data columns.
๐ซ Users can choose โNot Mappedโ if a column does not need to be imported into the platform.
Users can delete mappings or reassign them if necessary by interacting with the mapping dropdown๐ฝ or using the delete๐๏ธ icon next to each column.
โ ๏ธ If any columns remain unmapped, a confirmation popup appears when the user clicks Next.
The popup lists all unmapped headers along with a preview of their data๐จ. The user is informed that these headers will be ignored during import.
Two options are available:
- โCancel: To go back and map the columns if necessary.
- โก๏ธProceed: To continue, knowing the listed columns will not be imported.
Once the column mappings are complete, users can proceed to the next step to further define activity data or emission factors.
๐งฎDefine Activity Data
This step allows users to create custom formulas that calculate activity data based on the columns from the uploaded Excel file. ๐This ensures that data is structured and formatted for further use in the platform.
๐The Activity Data field is where users define a formula that calculates activity data. Users can combine
- ๐ Column headers
- ๐ข Numeric values
- โ Mathematical operators to create meaningful calculations.
๐Column Headers That Can Be Used in the Formula: The platform lists all column headers from the uploaded Excel file that are mapped in the Define columns part.๐๏ธ Users can select these column headers to add them to the formula.๐ ๏ธ
Operators That Can Be Used in the Formula: A variety of operators are available for constructing formulas:
+
(Addition)-
(Subtraction)*
(Multiplication)/
(Division)()
(Parentheses)**
(Exponentiation)
These operators enable flexibility and complexity in calculations.๐
๐ข Numeric Values: Users can directly input numeric values into the formula by typing a number and clicking Add Numberโ.
๐ Building the Formula To construct a formula:
- Select column headers or input numeric values. ๐๐ข
- Combine them with mathematical operators. โ
- The formula dynamically updates in the Activity Data field as elements are added. ๐งฉ
โ ๏ธError Handling: The platform validates the formula in real-time.๐จ Errors are flagged immediately with detailed messages:
- โInvalid Formula Format: This appears if the formula structure is incorrect (e.g., missing operators or invalid characters).
- โUnclosed Parentheses: Highlights missing or unmatched parentheses, ensuring proper grouping in calculations. Users can resolve errors by adjusting the formula until it is valid.
๐โ Clear All Option: Users can reset the formula using the Clear All button, which removes all elements and allows them to start fresh.
๐ฟDefine Emission Factors Parameters
This step allows users to define custom formulas ๐งฎ for calculating Emission Factors ๐, which are critical for determining environmental impacts based on activity data. It provides flexibility in using columns, numerical constants, and operators to tailor emission calculations.
If no emission factors were mapped during the column definition stage, the platform retrieves emission factors automatically from mapped emission sources. Users can optionally define their own formula for calculating emission factors at this stage.
โ๏ธ Formula Editor: Similar to the Activity Data step, this stage includes a formula editor where users can build a custom formula for emission factors. The formula editor includes:
๐ Emission Factor Field: Displays the formula built dynamically as users add elements.
๐บ๏ธ Map Emission Sources
This step allows users to map the columns from the uploaded Excel file to specific emission sources in the platform. Users ensure accurate and structured emissions calculations by defining conditions and linking data to platform emission sources. ๐โ๏ธ
๐ If no emission source mapping was performed during the column definition stage, the platform assumes the uploaded file contains a single emission source. Users can manually map the data to the correct emission source if needed.
โ Adding and Configuring Conditions:
Users can define specific conditions to link data columns to emission sources.
๐งพ Headers of Column: Choose a column from the uploaded file
โ๏ธ Operators: Select comparison operators like: = (Equal to) in (Matches one of the listed values)
(Greater than) < (Less than) between (Within a range of values) Values: Define specific values or ranges that satisfy the condition.
๐ Combining Multiple Conditions: Users can add multiple conditions for the same emission source using the "Add Condition" button. Conditions are combined using logical operators: If (Main condition) and (Additional conditions)
๐ Adding Multiple Emission Sources To handle multiple scenarios or data categories, users can map additional emission sources using the "Add Emission Source" button. Each emission source mapping is displayed in its section for clarity.
๐ฝ Platform Emission Source Selection:
Users select a predefined emission source from a dropdown menu.
If the desired source is not listed, they can create a new emission source using the "Create a new source" option.
โ Final Mapping Overview: After completing the mapping, each set of conditions and its associated emission source is displayed for review. Users can delete or edit mappings as needed before proceeding to the next step.
๐ Map Locations
This step allows users to link columns in the uploaded Excel file to the corresponding platform locations.
๐ ๏ธ No Pre-Mapping? No Problem!
If no mapping for locations was performed during the column-defining stage, the platform assumes that the user will specify the location information during this step.
โ Adding a Location: Use the "+ Add Location" button to begin mapping locations. Each added location mapping is represented as a row for clarity.
๐๏ธ Mapping Columns to Platform Locations Users are required to select headers (columns) from the uploaded file to represent location-based data:
๐งพ Header of column*: Select the column from the uploaded file that contains location data (e.g., "Tรผrkiye" for country or "Ankara" for city).
๐ Platform Locations: Map the selected column(s) to a predefined platform location.
๐If location data is distributed across multiple columns (e.g., country and city), users can map both columns:
Header of column 1: Represents one aspect of location (e.g., country).
Header of column 2: Represents another aspect (e.g., city).
โ Final Mapping: After selecting columns and platform locations, users review the mappings to ensure correctness. ๐๐
๐ Map Date
This section allows users to configure date-related information for the data being uploaded, ensuring that the dates in the Excel file align with the platform's requirements.
โ No Pre-Mapping? No Problem!
If no date column mapping was defined earlier, users uploading data will need to select the relevant date columns during the Excel upload process. โณ๐ฅ
๐ง Selecting Date Separator: The user chooses the date separator used in the Excel file, such as Slash (/)
Hyphen (-)
Comma (,)
, etc. This ensures that the system can correctly interpret the date format in the uploaded file.
๐ Selecting Date Format: The user selects the specific date format from the following options:
- ๐ International Standards: YYYY MM DD
- ๐บ๐ธ United States: MM DD YYYY
- ๐ช๐บ European/Other: DD MM YYYY
This ensures compatibility between the Excel file's date formatting and the platform's processing.
๐ Mapping Date Columns: Users specify the start and end date columns from the Excel file (if applicable).
This step ensures the date information is accurately interpreted and mapped, providing a clear time reference for the uploaded data. After mapping, users can finalize the template creation by clicking the "Create" button. ๐ ๐ก