web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Cloud for Sustainability | MSM, SDSF,...
Answered

Use of sold products - purchased Electricity

(4) ShareShare
ReportReport
Posted on by 142
I'm trying to set op some demo data on use of sold products - purchased Electricity.
 
The OOTB calculation model 'Use of Sold Products - Purchased Electricity: Location-Based' uses following logic referencing the activity.msdyn_lifespaninyears.
 
 
When importing some activity data, I cannot map with a 'lifespaninyears' field.
 
 
The field is not available in the Excel template either.
 
When checking out the documentation referenced in the excel template (https://learn.microsoft.com/en-us/common-data-model/schema/core/industrycommon/sustainability/purchasedenergy), there is mention of the lifespaninyears field.
 
 
So there should be a field.. however, there seems to be no possibility to fill it with de OOTB import possibilities??
 
FYI: I'm not considering manual entry as I want to prove the automation options.
 
What am I missing, or what is MSM missing? 
 
Thanks.
 
Follow up question:
 
I wasn't able to import data into that field, but somehow (bug??/magic??) some data was automatically entered into the lifespan (in years) field.. 
How did that happen?
 
  • Verified answer
    Ivan (Vanya) Kashperuk Profile Picture
    Microsoft Employee on at
    So Lifespan is as you can see on the form is a calculated field, you cannot manually specify it.
    The way it is calculated is quite simple - total number of days between consumption start and end dates, divided by 365 (so it's total number of years, essentially)
     
    Your screenshot seems to have the From/To dates the same, which should result in 0, and that's what happens in a test environment I tried. 
  • Joke Laukens Profile Picture
    142 on at
     
    Thank you for your reply. This helps a lot.
     
    Follow up question:
     
    You mention that it is a calculated field, as I can see in the form, but I'm not quite sure how I should see that..
    There is a lock icon - but so has the correlation ID and the correlation ID was provided by me in the source Excel.
     
    I cannot find that information in the documentation either, see screenshots below.
     
    Can you please point out where I could find this information? Maybe I'm missing a crucial part of documentation.
     
    Thank you.
     
     
  • Joke Laukens Profile Picture
    142 on at
     
    Can you please answer my follow-up questions?
     
    Thank you!
  • Ivan (Vanya) Kashperuk Profile Picture
    Microsoft Employee on at
    All you can see is the lock icon, meaning this field is not editable.
    OCID, on the other hand, would be editable on record creation, I guess. 
     
    But yeah, I will create a request to make it more explicit in the documentation
  • CU29081818-2 Profile Picture
    4 on at

    That clears it up. If lifespan is calculated automatically from the consumption start and end dates, it makes sense that the field isn’t available for manual import.

     

  • CU29081818-2 Profile Picture
    4 on at

    Good explanation of how the consumption dates determine the calculated value. When reviewing electricity data, comparing it with an online LESCO bill can also help verify the billing and consumption period.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Cloud for Sustainability | MSM, SDSF, EID

#1
CU29081818-2 Profile Picture

CU29081818-2 4

#2
BF Test 9 Profile Picture

BF Test 9 2 Moderator

#2
Lea Kraus Profile Picture

Lea Kraus 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans