Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
24 | |
10 | |
10 | |
9 | |
6 |