cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sirros_iot Member
Member

Average of Average

Hello All!

I have this sheet as example of data

https://drive.google.com/file/d/1NjNrDtDuRZSNFSvja0LCVJ6eF69LInmS/view?usp=sharing

I have a measure that does it:

Measure A = (MAX( RealTimeData[_ts]) - MIN( RealTimeData[_ts)) / COUNT( RealTimeData[sensor])

So, I put it into the visual table, and Measure A works with the time slicer and is filtered and by sensor as I put it into the table.
sensor         Measure A
A                        X
B                        Y
C                        Z

But, I would like to make also de average with X, Y, Z.
Example: X = 1, Y = 2, Z = 3.
Measure B = 2

Any Idea?
Thanks,
Diego
      

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft Phil_Seamark
Microsoft

Re: Average of Average

HI @sirros_iot 

 

Is this what you mean?  I have attached a PBIX file

 

Measure = AVERAGEX(VALUES('RealTimeData'[sensor]),[Measure A])

image.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Microsoft Phil_Seamark
Microsoft

Re: Average of Average

HI @sirros_iot 

 

Is this what you mean?  I have attached a PBIX file

 

Measure = AVERAGEX(VALUES('RealTimeData'[sensor]),[Measure A])

image.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

Highlighted
sirros_iot Member
Member

Re: Average of Average

Yes! It's working!

Thank you @Phil_Seamark.

Best Regards,
Diego

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors