Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am using data from an energy monitor which tracks daily genset use. The attached pbix file shows when the genset started (devicetimestamp) and the amount of energy produced for that time period ( value column ).
I am struggling with calculating the following metrics:
I am fairly new to PowerBI and can handle the pretty straight forward computations, but these three are a bit beyond me! Some help will be appreciated.
Solved! Go to Solution.
Hi please review the PBIX.
https://drive.google.com/file/d/0B95C8CKdTZE3dldsd1RpZHBHaFk/view?usp=sharing
Any Question please feel free to ask.
Hi please review the PBIX.
https://drive.google.com/file/d/0B95C8CKdTZE3dldsd1RpZHBHaFk/view?usp=sharing
Any Question please feel free to ask.
hello! @Vvelarde
Thanks so much for setting this up! Waaaay over my head. Not sure I understand your approach but will review carefullly.
However, you have a column called "Working Time ". It is showing "12/30/1899" for all rows. For "Working Time", I wanted to capture the total duration the genset has run for each day - so for instance, on June 2, the genset run twice. I'd like to know the total length of time ( sum of both run occurences for that day ).
The last metric - "Average duration" looks at the duration of each specific run instance, then I intend to take an average of all those instances by day or week or month.
Hope this helps. Many thanks.
@Vvelarde - not sure if i should start another thread or continue with this one -
How do i show the avg duration metric ( mm:ss) on a bar chart? I cant seem to get powerbi to show it - it counts it instead. Any ideas? Thanks again
Untill i know duration can graph directly in charts.
You need to apply some tricks to convert into a numeric value.
I recommend open a new thread.
Working perfectly. And I have learnt a lot of new things - using VARs in PowerBI. Thank you.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |