Exercise - Set up Scope 3 Category 1 hybrid method calculation with extensibility

Completed

In this exercise, you'll ingest Scope 3 Category 1 data and you'll complete hybrid method carbon emission calculations. This exercise will build on the knowledge that you gained in the Set up a sustainability solution using Microsoft Sustainability Manager module and will serve as an introduction to the hybrid method calculation of Scope 3 Category 1 purchased goods and services calculations. Additionally, you'll create a new data field that the organization requires to calculate their Scope 3 Category 1 carbon emissions.

Contoso Texas has received a carbon emission study for Fourth Coffee’s consortium farms. This study is considered as supplier-specific data, allowing Contoso Texas to use the supplier-specific method for consortium farms. However, Fourth Coffee also sources coffee beans from non-consortium farms, where a carbon emission study hasn't been conducted. To calculate the emissions for these non-consortium farms, Contoso Texas needs to use the spend-based method. Contoso Texas will use the hybrid method, combining the supplier-specific and spend-based methods of calculation to calculate the carbon emissions more accurately for the coffee beans that they've purchased from Fourth Coffee.

Task: Create a new field

In this task, Riley creates a new field to support the extra data that's required from the purchased goods data spreadsheet. This data field will be used later in the carbon emission calculation. It ensures that Contoso Texas is accounting for the carbon emissions by differentiating between farms that belong to the consortium and the farms that don't belong to the consortium.



Artwork showing a fictitious person named Remy Morris.
Remy Morris

Hi Devon, our coffee bean supplier, Fourth Coffee, has conducted a study of their consortium farms, which practices sustainable farming methods. They've separated the purchase information for consortium farms and non-consortium farms on their invoice. We need to track which type of farm that each purchase information belongs to.

Artwork showing a fictitious person named Devon Torres.
Devon Torres

Sure, Remy, I'll ask Riley, our IT admin, to help us extend the Sustainability Manager data model for this new requirement.

Hi Riley, could you please extend the Purchased goods and services data model to track whether the data is for consortium farms or not?

Sure thing, Devon, I'll create a new yes/no field to identify consortium farms!

Artwork showing a fictitious person named Riley.
Riley Ramirez



  1. While using an InPrivate or Incognito window, go to Microsoft Power Apps.

  2. Select the correct Sustainability environment from the Environment dropdown menu in the upper-right corner.

  3. Select Solutions and then select the solution called Contoso Texas that you created in the previous exercise Task: Create a new field. The Solution editor should open.

    Screenshot of the Solutions page in Power Apps with Contoso Texas highlighted.

  4. Select + Add existing and then select Table.

  5. To add an existing table, follow these steps:

    1. Search for Purchased good and service.

    2. Select the Purchased good and service table on the list.

    3. Select Next.

  6. To include only specific objects that are related to the table, select the Select objects option.

    Screenshot of Selected tables with Select objects highlighted.

  7. Because only the main form is required, complete the following steps:

    1. Select the Forms tab.

    2. Select the Information row where the Form type is Main.

    3. Select Add.

    Screenshot of the Purchased good and service table on the Forms tab with the Information main form selected.

  8. View the Selected tables dialog to verify that one form is selected and then select Add.

  9. To modify the Purchased good and service table, follow these steps:

    1. Select the Purchased good and service table in the solution view.

    2. Select Edit.

  10. On the table solution view, select New > column.

  11. A new dialog will open for you to create a new column. Enter the following information:

    • Name - Consortium farms

    • Data type - Choice > Yes/No

    • Required - Optional

    • Default choice - No

  12. Select Save.

    Screenshot of the New column dialog with the fields filled in.

  13. Select the back arrow and then select the Purchased good and service table.

  14. Add the field to the existing Information form by locating the Data Experiences card on the table solution view and then selecting the Forms link.

  15. On the Forms list, select the Information form and then select Edit.

  16. A form editor will open with the Information form loaded. In the Table columns section, locate the new Consortium farms field and then select the field name to add to the Information form.

    Screenshot of the form editor with the Information form loaded and the Consortium farms field highlighted in the Table columns list.

    The Consortium farms field will be added to the form and highlighted.

  17. Select Save and publish.

Acting as Riley, you've completed the task of creating a new field called Consortium farms by using the previously created solution.

Task: Ingest data

In this task, Devon will import an Excel spreadsheet for Scope 3 Category 1 goods and services. This task brings in the coffee that was purchased from Fourth Coffee for the Houston and Fulshear facilities into the Scope 3 Category 1 goods and services activity data.

Important

Ensure that you've completed the previous exercise to create reference data. The data import process requires all reference data to exist, and the process is case sensitive. Additionally, make sure that the reference data that was previously added has the exact case formatting as is found in the exercise. Failure to do so will result in errors during the data import process.



Artwork showing a fictitious person named Riley.
Riley Ramirez

Hi Devon, I've created the new yes/no field named Consortium farms on the Purchased good and service table.

Thank you, Riley, I can start the data ingestion process now.

Artwork showing a fictitious person named Devon Torres.
Devon Torres



  1. Select Data > Imports from the left navigation pane.

  2. Select + New.

  3. Select POWER QUERY CONNECTORS.

  4. On the New data connection wizard, complete these steps:

    1. Select Sources > Carbon activities.

    2. Select Add next to 1. Purchased goods and services option from the Value chain | upstream dropdown list and then select Next.

    Screenshot of the New data connection with Activity data selected under Select data type.

  5. Select Excel and then select Next.

  6. On the new dialog that opens for Power Query, follow these steps:

    1. Select Upload file.

    2. Select Browse.

    3. On the file selection window, browse to the location of the downloaded Excel files. Select the Scope 3 Goods and Services.xlsx file and then select Open.

  7. After the file has successfully uploaded, the existing connection will be selected automatically. Select Next.

    Note

    If a connection isn't automatically selected, you'll need to sign in. You can find instructions on how to do so in the Exercise - Average unit.

  8. Complete the following steps on the Choose data page of the Power Query wizard:

    1. Select the All purchased goods and services sheet.

    2. Select Transform data.

  9. Select Create to start the data import process.

  10. Turn on the Replace previously imported data toggle and then select Next.

  11. On the Review and finish page, enter a name for the new connection, such as Contoso Texas Scope 3 Purchased goods and services, and then select Connect.

    Screenshot of the Review and finish page with the name filled in and the Connect button highlighted.

  12. Map your source data to the data model. Data doesn't appear until this step is complete. Select Map fields.

  13. Select 1. Purchased goods and services under Data source. Select Auto map.

  14. Verify that the Destination and Source fields are mapped correctly. After reviewing your field mappings, select Save. Switch the Ready to import toggle to yes.

  15. After the connection has been created, select Done.

  16. Select 1. Purchased goods and services under Data source. Select Auto map.

  17. Select Refresh to view the updated status, which should show as Complete.

  18. Go to Carbon activities on the left side of the page.

  19. Select the 1. Purchased goods and services option in the Scope 3: Value chain | upstream section. The view shows all purchased goods and services data that's been imported.

  20. Select the arrow next to the Organizational Unit column and then select Filter by.

    Note

    You might need to scroll left or right to find the Organizational unit column.

  21. Select Contoso Texas from the Filter By dialog.

  22. Select Apply to apply the filter to the column.

    The view will refresh, and the activity data records that were imported during this exercise will display.

    Screenshot of the refreshed view showing the newly imported activity data records.

  23. To review the new Consortium farms field, select the first record in the view and then select Edit.

    The new Consortium farms field will display and should be populated with imported data. In this scenario, the field appears at the bottom of the left section.

    Screenshot of Sustainability Manager showing Brazil Coffee Beans Non-Consortium Farms with the new field added.

Acting as the persona of Devon, you've completed the data import of Scope 3 Category 1 purchased goods and services. It's an important step to realizing the goal of recording, reporting, and reducing carbon emissions. Next, you'll create the factor library and a calculation model for this data.

Task: Factor library and calculation model

In this task, Remy will create an emission factor library to define the emissions for the beans that have been purchased from the consortium farms. The consortium farms have paid for a study to be conducted to determine the average amount of CO2e that's generated for each metric ton of harvested coffee beans. Contoso Texas must rely on EEIO data to determine the carbon emissions for non-consortium farms because no study has been conducted on those farms.



Artwork showing a fictitious person named Remy Morris.
Remy Morris

Hi Devon, I've reviewed the study that our coffee bean supplier, Fourth Coffee, has conducted for the consortium farms. Fourth Coffee determined that the consortium farms, on average, emit 150 kg of CO2e per metric ton of coffee beans harvested. We need to account for it in our category 1 emissions.

Thank you for that information, Remy. I'll create a new factor library to account for the supplier data and use the hybrid calculation method to calculate supplier-driven data for consortium farms and spend-based data for non-consortium farms.

Artwork showing a fictitious person named Devon Torres.
Devon Torres



  1. Go to Calculations > Factor libraries on the left navigation pane.

  2. Select + New.

  3. Use the following information to populate the fields on the new factor library:

    • Name - Use to identify the factor library in the list. Enter Consortium farms emission library.

    • Description - Use to provide more information about the factor library. Enter Average data emissions from consortium farms.

    • Module - Carbon activities

    • Type - Use to identify if this factor library is a Custom, Demo (sample), or Standard (preloaded based on EPA libraries). Enter Custom.

    • Library type - Use to switch the library type between Emission or Estimation library. You can use emission libraries to calculate emission gases, and you can use estimation libraries to create estimated conversions from one unit type to another, such as 100 miles driven to kWh. Select Emission factor library.

  4. Select Save to save the record.

    Screenshot of the New Factor library completed and the Save button highlighted.

  5. Select the Emission factors tab.

  6. Select + New Emission factor.

  7. Review the Fourth Coffee Brazil Consortium Farms study and then populate the following information on the New Emission factor page:

    • Factor library - Use to link the emission factor to the factor library. It defaults if you select New Emission factor while you're in a factor library. Enter Consortium Farms.

    • Name - Use to identify the emission factor in the list. Enter Fourth Coffee Brazil Consortium Farms.

    • Unit - Use to identify the common unit of measure for this emission factor. Enter metricton.

    • CO2E - Use to determine the quantity of CO2e for each CO2e unit. Enter 150.00.

    • CO2E unit - Use to specify the CO2e unit of measure for this emission factor. Enter kg.

  8. Select Save & Close to save the record.

    Screenshot of the New Emission factor page completed with the Save and Close button highlighted.

    The new emission factor states that for every metric ton, 150 kg of CO2e is released.

    Devon creates a new calculation model to calculate carbon emissions for coffee that was purchased from their coffee bean supplier, Fourth Coffee. Devon has reviewed the existing calculation models and hasn't found a similar model. Therefore, Devon creates a new calculation model to calculate emissions that are generated by Scope 3 Category 1 purchased goods and services for consortium and non-consortium farms. Devon uses the factor library and emission factor that were recently created.

  9. Go to Calculations > Models on the left navigation pane.

  10. Select + New to create a new calculation model.

    The new calculation mode page opens. A source action is added by default.

  11. Populate the Source action with the following data:

    • Category name - Use for identifying the calculation model in the list. Enter Purchased Coffee Fourth Coffee Brazil.

    • Module – Carbon activities

    • Activity data - Use to identify which type of activity data that the model processes. Enter 1. Purchased goods and services.

  12. Select Save to save the record.

    Screenshot of the Source details name and activity data filled in and the Save button highlighted.

  13. Select the plus (+) sign to add a new action to the calculation model.

    Screenshot of the calculation model with the plus sign button highlighted.

  14. Select Condition on the list of available actions.

  15. A new Condition action is added to the calculation model. Select and set up that action.

    You can use the Condition action to branch the emission calculation logic based on a condition.

  16. Populate the Condition action with the following information:

    • Category name - Use for identifying the action in the calculation model. Enter If Consortium farm.

    • Power Fx experience - Use to enable or disable the Power Fx editor. Select the checkbox.

    • Define condition function - Use to define the condition to branch on; it must result in True or False. Use the following code block:

      Activity.new_consortiumfarms
      

    Note

    You can't select Save until both sides of the Condition branch have actions populated.

    Screenshot of Condition details filled in with the name and function.

  17. On the True side of the Condition branch, select the plus (+) sign to add a new action to the calculation model.

    Screenshot of the Condition branch with the plus sign under the True side highlighted.

  18. Select Report on the list of available actions.

  19. A new Report action is added to the calculation model. Select and set up that action.

  20. Populate the Report action with the following data:

    • Category name - Use to identify the action in the calculation model. Enter Goods Quantity * EF (Fourth Coffee Brazil Consortium Farms).

    • Emission report value - Use to identify which field from the activity data type should be used to retrieve the value that's used in the emission calculation. Select Goods Quantity.

    • Unit - Use to identify the field from the activity data type to be used to retrieve the unit type of the value. Alternatively, you can specify a unit to always be used in the action, regardless of which unit is specified on the activity date type. Select Goods unit.

    • Emission factor library - Use to identify which factor library is used to identify the emission factor. Select Consortium farms emission library.

    • Emission factor - Use to identify which emission factor or factor mapping is used to calculate the emissions. Select Fourth Coffee Brazil Consortium Farms.

    Screenshot of Report details filled in for the Goods Quantity values.

  21. On the False side of the Condition branch, select the plus (+) sign to add a new action to the calculation model.

  22. Select Report on the list of available actions.

  23. A new Report action is added to the calculation model. Select and set up that action.

  24. Populate the Report action with the following data:

    • Category name - Enter Cost * EF (Spend Type)

    • Emission report value - Select Cost

    • Unit - Select Cost unit

    • Emission factor library - Select EPA 2022 - Supply chain GHG emission factor - v1.1

    • Emission factor - Select Spend type

    Screenshot of Report details filled in with the Spend type emission factor.

  25. Select Save at the top of the calculation model when both sides of the condition have been populated.

Acting as Devon, you've successfully created a new calculation model. In this calculation model, you've used Power Fx expressions, an important differentiator for Microsoft Cloud for Sustainability. Power Fx expressions allow the calculation models to be more dynamic by using an Excel-like programming language directly in the calculation model.

Task: Create a calculation profile

In this task, Riley will create a calculation profile for the Scope 3 Category 1 purchased goods and services for the year 2022. Riley will use the calculation model that was previously defined in this exercise and will filter the profile to only activity data for Contoso, Texas. These filters will ensure that only the goods and services that have been purchased by Contoso, Texas are included in the calculation job.



Artwork showing a fictitious person named Devon Torres.
Devon Torres

Hi Riley, could you please create a calculation profile for Category 1 purchased goods and services with the Purchased Coffee Fourth Coffee Brazil calculation model and filter the activity data to include only Contoso, Texas data? Thank you!

Sure thing, Devon. I'll let you know when the profile is ready!

Artwork showing a fictitious person named Riley.
Riley Ramirez



  1. Go to Calculation profiles on the left navigation pane.

  2. Select New + to create a new calculation profile.

  3. Populate the following information on the New calculation profile wizard.

    • Calculation profile name - Enter Scope 3 Contoso Texas Purchased Goods

    • Module – Carbon activities

    • Emission source - Select 1. Purchased goods and services

    • Activity data to include in calculation - Select Organizational Unit Equals Contoso Texas

    • Calculation model - Select Purchased Coffee Fourth Coffee Brazil from the dropdown list

    • Schedule - Select the Automatically run this calculation when data is refreshed checkbox

  4. To create the filter, do the following:

    1. Select Add > Add row.

    2. In the Select a field dropdown list, select Organizational unit.

    3. In the Value dropdown list, select Contoso Texas (Organizational unit).

  5. Select Next.

    Screenshot of the Calculation profile set up page filled in and the Next button highlighted.

    On the preview page of the New calculation profile wizard, the emissions are calculated for the first row of data that matches the Activity data to include filter. For more information, see Exercise - Run calculations.

  6. Select Save to save your calculation profile.

  7. Select Done.

As the persona of Riley, you've created a calculation profile. Calculation profiles are the mechanisms by which calculation jobs are queued. You can set your calculation profiles to run automatically when matching activity data is added or updated, as in this scenario, or you can run them manually.

Task: Perform the calculation and review the results

Devon runs the newly created calculation profile for the purchased goods and services by Contoso, Texas. This calculation profile creates a calculation job that iterates over each activity data row that matches the calculation profile filter criteria. Additionally, the profile uses the calculation model that you previously created in this exercise to calculate the carbon emissions for each row. The results are stored in the Emissions table, which you can review after the calculations are complete.



Artwork showing a fictitious person named Riley.
Riley Ramirez

Hi Devon, I've created a new calculation profile named Scope 3 Contoso Texas Purchased Goods.

Thank you, Riley! I'll run that profile to create a calculation job that iterates over each activity data row and then calculate the carbon emissions for each row.

Artwork showing a fictitious person named Devon Torres.
Devon Torres



  1. To run the calculation profile for Scope 3 Contoso Texas Purchased Goods, follow these steps:

    1. Select Scope 3 Contoso Texas Purchased Goods in the list.

    2. Select Run calculation.

  2. After several minutes (approximately three), the calculation jobs should be completed. Select Refresh to check the status of the calculation jobs. The two calculation profiles should now have a status of Succeeded.

  3. Go to Data > All emissions on the left navigation pane. The view shows all emissions that have been calculated or directly imported.

  4. Select the arrow next to the Organizational Unit column and then select Filter by.

  5. Select Contoso Texas from the Filter By dialog.

  6. Select Apply to apply the filter to the column. The view will refresh, and the calculated emissions data for each activity data record that was imported in the previous tasks are shown. Scroll to view the CO2E carbon emission values.

You've now created and run a calculation profile, acting as Devon. Running calculation profiles is the final step in calculating and recording your carbon emissions in Sustainability Manager. Now, you can report and reduce your carbon emissions, acting as Devon. It might take 30 minutes for your emissions to appear in the reporting areas.

Working as various personas, you completed the following tasks in this exercise:

  • Riley, the IT admin, extended the Purchased good and service table to accommodate the consortium farms.

  • Devon, the sustainability specialist, performed the data ingestion of purchased goods and services Excel spreadsheet that Remy, the emissions analyst, prepared.

  • Devon created a new emission factor library for the consortium farms and created a hybrid calculation model.

  • Riley built the calculation profile for the Contoso, Texas organizational unit by using the calculation model that Devon set up.

  • Devon ran the calculation profile and validated the emissions data.