Forum Discussion
Akvatraine02
5 years agoNew Member
Ayuda con DAX
Hola a todos, tengo una duda que no he podido resolver y quería ver si me podrían orientar: Pasa que quiero hacer una columna, medida o parametro, donde yo pueda tener el promedio diario de horas en...
- 5 years ago
Hi, Akvatraine02
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
You may create a measure as below.
Result = DIVIDE( CALCULATE( SUM('Table'[Loss hours]), ALLSELECTED('Table') ), DISTINCTCOUNT('Table'[YearMonth])*30 )Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-alq-msft
Community Support
5 years agoHi, Akvatraine02
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
You may create a measure as below.
Result =
DIVIDE(
CALCULATE(
SUM('Table'[Loss hours]),
ALLSELECTED('Table')
),
DISTINCTCOUNT('Table'[YearMonth])*30
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.