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.
Hola a todos,
La siguiente fórmula está funcionando, excepto por el resultado que muestra para Total:
No conseguimos encontrar tu ubicación exacta. El resultado de Total debe ser 18.
Solved! Go to Solution.
@Johan94 - Como he estado tratando de señalar, la solución es esta medida rápida, medida totales, la palabra final:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
La implementación en su situación es:
Greg_Deckler =
IF(
HASONEVALUE('Inspection 2016-2020'[Name]),
[Most recent values -1],
SUMX(
SUMMARIZE(
'Inspection 2016-2020',
[Name],
"Measure",[Most recent values -1]
),
[Measure]
)
)
PBIX está unido.
@Johan94 ,
Trate como
XXX =
VAR MaxYear = YEAR(MAX('Table'[Date]))
VAR MaxMonth = MONTH(MAX('Table'[Date]))
RETURN
SUMX(summarize(FILTER('Table';[Year]=MaxYear&&MONTH([Date])=MaxMonth&&[Value]=-1);'Table'[Location];"_TEST";COUNT([Value])),[_TEST])
Hola @amitchandak ,
Gracias por responder.
Recibí exactamente los mismos resultados con su fórmula, por lo que Total todavía muestra 1.
@Johan94 ,
Puede compartir datos de ejemplo y salida de muestra.
Claro, aquí está el archivo de Excel:
https://drive.google.com/file/d/13HR8-JiYunuB0aFqfd1H3iUGRWjLYIE7/view?usp=sharing
Y aquí está el archivo PBI:
https://drive.google.com/file/d/1-qDDE9Tccf7UurvCBZc-i0nlZe2C0Ovb/view?usp=sharing
@Johan94 , @Greg_Deckler ya ha proporcionado la solución. Así que no hay necesidad de que yo revise
@Johan94 - Como he estado tratando de señalar, la solución es esta medida rápida, medida totales, la palabra final:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
La implementación en su situación es:
Greg_Deckler =
IF(
HASONEVALUE('Inspection 2016-2020'[Name]),
[Most recent values -1],
SUMX(
SUMMARIZE(
'Inspection 2016-2020',
[Name],
"Measure",[Most recent values -1]
),
[Measure]
)
)
PBIX está unido.
Los datos de muestra ayudarían mucho. Por favor, consulte este post sobre cómo obtener su pregunta respondida rápidamente: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Pero aún así, Esto parece un problema de totales de medida. Muy común. Vea mi post al respecto aquí: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Además, esta medida rápida, medida totales, la palabra final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Esto parece un problema de totales de medida. Muy común. Vea mi post al respecto aquí: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Además, esta medida rápida, medida totales, la palabra final debe obtener lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
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 |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |