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.
En un objeto visual de matriz quiero cambiar el campo Total general a Gran promedio. Por ejemplo.
Solved! Go to Solution.
Hola @Girish_P ,
Modifique su medida como se indica a continuación:
avg1z =
var _sum=SUMX(FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])&&'Sheet1'[Row Labels]=MAX('Sheet1'[Row Labels])),'Sheet1'[qnt])
var _distinctcount=CALCULATE(DISTINCTCOUNT(Sheet1[Row Labels]),FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])))
Return
IF(ISINSCOPE(Sheet1[Row Labels]),_sum,DIVIDE(SUMX(FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])),'Sheet1'[qnt]),_distinctcount))
Y verás:
Para el archivo .pbix relacionado, pls ver adjunto.
Saludos
Kelly
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!
Hola
Total = SUM(Sheet1[qnt])
Measure = AVERAGEX(VALUES(Sheet1[Row Labels]),[Total])
Espero que esto ayude.
Prueba estas medidas
https://1drv.ms/u/s!AuHFzkBFHhqqga9TApvSulUpiJ9hwA?e=HANo68
Gracias por sus respuestas. pero la solución no está clara. adjuntando p.p. de prueba para su referencia. puede implementarlo y publicarlo.
Hola @Girish_P ,
Cree una medida como se muestra a continuación:
avg1 = IF(ISINSCOPE(Sheet1[Row Labels]),MAX('Sheet1'[qnt]),AVERAGEX(FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])),'Sheet1'[qnt]))
Y verás:
Para el archivo .pbix relacionado, pls ver adjunto.
Saludos
Kelly
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!
@v-kelly-msft gracias por su respuesta.
pero parece que toma Max a nivel de fila en lugar de suma.
enlace pbix :..
Hola
Total = SUM(Sheet1[qnt])
Measure = AVERAGEX(VALUES(Sheet1[Row Labels]),[Total])
Espero que esto ayude.
Prueba estas medidas
Hola @Girish_P ,
Modifique su medida como se indica a continuación:
avg1z =
var _sum=SUMX(FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])&&'Sheet1'[Row Labels]=MAX('Sheet1'[Row Labels])),'Sheet1'[qnt])
var _distinctcount=CALCULATE(DISTINCTCOUNT(Sheet1[Row Labels]),FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])))
Return
IF(ISINSCOPE(Sheet1[Row Labels]),_sum,DIVIDE(SUMX(FILTER(ALL(Sheet1),'Sheet1'[Day]=MAX('Sheet1'[Day])),'Sheet1'[qnt]),_distinctcount))
Y verás:
Para el archivo .pbix relacionado, pls ver adjunto.
Saludos
Kelly
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!
Prueba a medir como
avergageX(values(Table[Row Label]),[Day1])
avergageX(values(Table[Row Label]),sum(Table[Day1]))
Cree la medida que muestra valores (10,20,30 ...) con Promedio en lugar de SUM. por lo que mostrará 10,20,30 ... permanecer igual ya que es el nivel más bajo de granularidad y mostrará promedio en total general.
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |