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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pipanebo
New Member

How to get the value of an average measure?

Hello,

 

I need to get the value, just the "141,02", from an average measure. As shown below:

pipanebo_1-1660222638423.png

 

To get to this number I used these formulas:

Soma Horas = SUM(Rel_Ciclo[T0 Ciclo])
Média T0 CB = AVERAGEX(VALUES(Rel_Ciclo[Equipamento]),[Soma Horas])
Média em valor = AVERAGEX(VALUES(Rel_Ciclo[Equipamento]),Medidas[Média T0 CB])*24
 
My database is something like this:
 
pipanebo_2-1660222857970.png

 

Is there a way to get just the 141,02 value? I need to divide another measure by this number.

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @pipanebo 

please try 

Média em valor All =
CALCULATE ( [Média em valor], ALLSELECTED ( Rel_Ciclo[Equipamento] ) )

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @pipanebo 

please try 

Média em valor All =
CALCULATE ( [Média em valor], ALLSELECTED ( Rel_Ciclo[Equipamento] ) )

Hello tamerj1.

 

It worked. Thank you very much. I just had to switch the "CALCULATE ( [Média em valor], ALLSELECTED ( Rel_Ciclo[Equipamento] ) )" for another column and it worked.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors