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.
Hello community, i've been trying with no success, to get average per turn (turn day, turn night), and machine (machine 1, machine 2, etc.) but it turns out that some Sites don't have the same number of machines.
MH% Humedad Torta Prensa OK =
var PromDiaPrensa01Humedad = CALCULATE(AVERAGE('Detalle Registro Controlprocesos'[Valor]),
Caracteristica[Id]=164,
Fase[Fase]=("PRENSA N°01"),
Horario[Horario]="Día")
var PromDiaPrensa02Humedad = CALCULATE(AVERAGE('Detalle Registro Controlprocesos'[Valor]),
Caracteristica[Id]=164,
Fase[Fase]=("PRENSA N°02"),
Horario[Horario]="Día")
var PromNochePrensa01Humedad = CALCULATE(AVERAGE('Detalle Registro Controlprocesos'[Valor]),
Caracteristica[Id]=164,
Fase[Fase]=("PRENSA N°01"),
Horario[Horario]="Noche")
var PromNochePrensa02Humedad = CALCULATE(AVERAGE('Detalle Registro Controlprocesos'[Valor]),
Caracteristica[Id]=164,
Fase[Fase]=("PRENSA N°02"),
Horario[Horario]="Noche")
var PromDiaPrensa03Humedad = CALCULATE(AVERAGE('Detalle Registro Controlprocesos'[Valor]),
Caracteristica[Id]=164,
Fase[Fase]=("PRENSA N°03"),
Horario[Horario]="Día")
var PromNochePrensa03Humedad = CALCULATE(AVERAGE('Detalle Registro Controlprocesos'[Valor]),
Caracteristica[Id]=164,
Fase[Fase]=("PRENSA N°03"),
Horario[Horario]="Noche")
RETURN
(PromdiaPrensa01Humedad + PromDiaPrensa02Humedad + PromNochePrensa01Humedad +PromNochePrensa02Humedad +
PromDiaPrensa03Humedad + PromNochePrensa03Humedad )/6
In return, i need to count a dynamic value, not static.
I deeply thanks in advance for any insights in how to solve this problem!
My best Regards !
Solved! Go to Solution.
@Greg_Deckler ... maybe.. but finders keepers
i got the solution....
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
@Greg_Deckler ... maybe.. but finders keepers
i got the solution....
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |