cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
sirros_iot
Helper IV
Helper IV

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
Phil_Seamark
Microsoft
Microsoft

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
Phil_Seamark
Microsoft
Microsoft

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!

Yes! It's working!

Thank you @Phil_Seamark.

Best Regards,
Diego

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors