Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Alexandra_B
Helper III
Helper III

Peak and Average of Power

Hello.

I need some help creating a Dax that finds peak and average of power.
We have energy meter readings installed and I need to calculate what is the peak and what in the average of the power consumed at that site.

Thank you.

1 ACCEPTED SOLUTION
v-yetao1-msft
Community Support
Community Support

Hi @Alexandra_B 

You can also use MAXX() to get the peak of power . You can refer to the contents of these two links .

https://blog.enterprisedna.co/using-the-maxx-dax-function-in-power-bi-to-calculate-recent-values-in-... 

https://community.powerbi.com/t5/Desktop/Peak-Value-in-a-given-month/m-p/932493 

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-yetao1-msft
Community Support
Community Support

Hi @Alexandra_B 

You can also use MAXX() to get the peak of power . You can refer to the contents of these two links .

https://blog.enterprisedna.co/using-the-maxx-dax-function-in-power-bi-to-calculate-recent-values-in-... 

https://community.powerbi.com/t5/Desktop/Peak-Value-in-a-given-month/m-p/932493 

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

tackytechtom
Super User
Super User

Hi @Alexandra_B ,

 

It's hard to help you in a detailed way without knowing anything about the data or the model. I'd suggest to use the MAX() function for the peak and the AVERAGE() function for the average 🙂

 

Feel free to share some sample data, if this does not solve your issue.

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

peak_avg.PNGI have used Max and average, I wasn`t sure that`s the right way. I thought there is another formula for peak.

Thank you.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors