The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I'm trying to calculate the total, idle and active energy use from power measurements. I'm trying to do this by taking the average power over a given timespan, and multiplying this by the amount of hours that this timespan is over. However, the sum of the idle and active energy use is different from the total energy use.
The scripts I use are:
what is the cause of the Active and Idle energy uses not adding up to the total energy use?
The difficulty here is that the power data is sent randomly, not in a fixed interval. This makes it relatively hard to extrapolate the energy use data from the power data.
Hi @Anonymous
Please try
TotalEnergyUse =
AVERAGEX ( Sensor1, [P(W)] * Sensor1[RunTime] ) / 1000
Hi Tamer,
this sadly does not work, it gives a result of 0 (when I remove the /1000, it gives a result of 0,59). I think this command takes the average of the power data *43 hours for each row, which is not the right result.
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |