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

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

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

sirros_iot Member
Member

Re: Average of Average

Yes! It's working!

Thank you @Phil_Seamark.

Best Regards,
Diego

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)