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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
delfina04
Frequent Visitor

Promedio de 3 medidas medidas en tablas distintas

Buenos días red, estoy tratando de calcular el promedio de 3 medidas. 

Tengo una tabla con los empleados y como les dio el porcentaje de cumplimineto en 3 tareas distintas. Este porcentaje de cumplimineto de las tareas esta calculada a traves de medidas, lo que quiero hacer es saber el porcentaje de cumplimineto total del empleado. Dejo la tabla que tengo, lo que busco es agregar otra columna con el cumplimiento total. 

 

Desde ya muchas gracias a todos por la ayuda!!

delfina04_0-1724075102075.png

 

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

Hi @delfina04 ,

 

Thanks for the reply from lbendlin , please allow me to provide another insight: 

 

Based on your description, I created three measures.

Measure =
SUM('financials'[COGS]) / SUM(financials[ Sales])


Measure 2 =
SUM(financials[ Sales]) / SUM(financials[Gross Sales])


Measure 3 =
SUM(financials[Profit]) / SUM(financials[ Sales])

 

Finally, create a measure to calculate their average.

Measure 4 =
([Measure] + [Measure 2] + [Measure 3]) / 3

vkaiyuemsft_1-1724119725727.png

 

In case my example is different from your reality, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

 

Best Regards,

Clara Gong

If there is any 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-kaiyue-msft
Community Support
Community Support

Hi @delfina04 ,

 

Thanks for the reply from lbendlin , please allow me to provide another insight: 

 

Based on your description, I created three measures.

Measure =
SUM('financials'[COGS]) / SUM(financials[ Sales])


Measure 2 =
SUM(financials[ Sales]) / SUM(financials[Gross Sales])


Measure 3 =
SUM(financials[Profit]) / SUM(financials[ Sales])

 

Finally, create a measure to calculate their average.

Measure 4 =
([Measure] + [Measure 2] + [Measure 3]) / 3

vkaiyuemsft_1-1724119725727.png

 

In case my example is different from your reality, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.

 

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

 

Si funciono, muchas gracias!!

lbendlin
Super User
Super User

You cannot measure a measure directly. Either materialize it first, or create a separate measure that implements the entire business logic.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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