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.
Morning All, esperando poder conseguir un poco de ayuda con una fórmula en la que me he quedado atascado.
Estoy tratando de contar el número de instancias en función de los resultados de auditoría calificados por ubicación y el clúster de instancias más reciente.
ResultDate | Fase | AuditScoreSort | AuditScoreSetInOrder | AuditScoreShine | AuditScoreSafety | ResultDateSoW | Tipo | Ubicación | Índice | Calificación | QualfyingCount | QualifyingResultNeeded |
4/22/2020 | Establecer en orden | 4 | 4 | 4 | Miércoles, 22 de abril de 2020 | 2 | Cell1 | 669 | 1 | 9 | 7 | |
4/9/2020 | Establecer en orden | 3.5 | 3.8 | 4 | Jueves, 9 de abril de 2020 | 2 | Cell1 | 670 | 1 | 9 | 7 | |
3/26/2020 | Establecer en orden | 4 | 3.4 | 4 | jueves, 26 de marzo de 2020 | 2 | Cell1 | 671 | 1 | 9 | 7 | |
3/9/2020 | Establecer en orden | 4 | 3.4 | 4 | lunes, 9 de marzo de 2020 | 2 | Cell1 | 672 | 1 | 9 | 7 | |
2/29/2020 | Establecer en orden | 3.6 | 3.4 | 4 | Sábado, 29 de febrero de 2020 | 2 | Cell1 | 673 | 1 | 9 | 7 | |
2/28/2020 | Establecer en orden | 3.1 | 3.1 | 4 | viernes, 28 de febrero de 2020 | 2 | Cell1 | 674 | 1 | 9 | 7 | |
2/10/2020 | Establecer en orden | 3.1 | 3.7 | 4 | lunes, 10 de febrero de 2020 | 2 | Cell1 | 675 | 1 | 9 | 7 | |
1/31/2020 | Establecer en orden | 4 | 2.8 | 4 | viernes, 31 de enero de 2020 | 2 | Cell1 | 676 | 9 | 7 | ||
1/15/2020 | Establecer en orden | 3.6 | 2.8 | 4 | miércoles, 15 de enero de 2020 | 2 | Cell1 | 677 | 9 | 7 | ||
12/31/2019 | Establecer en orden | 3.1 | 2.8 | 3.571 | martes, 31 de diciembre de 2019 | 2 | Cell1 | 678 | 9 | 7 | ||
12/17/2019 | Establecer en orden | 3.6 | 3.1 | 3.8 | martes, 17 de diciembre de 2019 | 2 | Cell1 | 679 | 1 | 9 | 7 | |
12/5/2019 | Establecer en orden | 4 | 3.4 | 4 | Jueves, 5 de diciembre de 2019 | 2 | Cell1 | 680 | 1 | 9 | 7 | |
4/23/2020 | Tipo | 3.5 | 3.6 | jueves, 23 de abril de 2020 | 1 | Cell2 | 715 | 1 | 5 | 3 | ||
4/23/2020 | Tipo | 3.1 | 3.8 | jueves, 23 de abril de 2020 | 1 | Cell2 | 716 | 1 | 5 | 3 | ||
4/22/2020 | Tipo | 3.5 | 3.6 | Miércoles, 22 de abril de 2020 | 1 | Cell2 | 717 | 1 | 5 | 3 | ||
4/8/2020 | Tipo | 2.7 | 3.2 | Miércoles, 8 de abril de 2020 | 1 | Cell2 | 718 | 5 | 3 | |||
3/26/2020 | Tipo | 2.3 | 2.93 | jueves, 26 de marzo de 2020 | 1 | Cell2 | 719 | 5 | 3 | |||
3/11/2020 | Tipo | 3.1 | 3.4 | miércoles, 11 de marzo de 2020 | 1 | Cell2 | 720 | 1 | 5 | 3 | ||
2/24/2020 | Tipo | 3.6 | 4 | lunes, 24 de febrero de 2020 | 1 | Cell2 | 721 | 1 | 5 | 3 |
Solved! Go to Solution.
No @adamnimmo ,
Cree dos columnas así:
Column 1 =
VAR thislocation = Sheet1[Location]
VAR FirstLessThan3Index =
CALCULATE (
MIN ( Sheet1[Index] ),
FILTER ( ALLEXCEPT ( Sheet1, Sheet1[Location] ), [Qualifying] = BLANK () )
)
RETURN
IF (
FirstLessThan3Index > Sheet1[Index]
&& Sheet1[Location] = thislocation,
1,
0
)
Column 2 =
VAR thislocation = Sheet1[Location]
RETURN
SUMX ( FILTER ( Sheet1, Sheet1[Location] = thislocation ), [Column 1] )
Por cierto, archivo .pbix adjunto.
Saludos
Icey
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
No @adamnimmo ,
Cree dos columnas así:
Column 1 =
VAR thislocation = Sheet1[Location]
VAR FirstLessThan3Index =
CALCULATE (
MIN ( Sheet1[Index] ),
FILTER ( ALLEXCEPT ( Sheet1, Sheet1[Location] ), [Qualifying] = BLANK () )
)
RETURN
IF (
FirstLessThan3Index > Sheet1[Index]
&& Sheet1[Location] = thislocation,
1,
0
)
Column 2 =
VAR thislocation = Sheet1[Location]
RETURN
SUMX ( FILTER ( Sheet1, Sheet1[Location] = thislocation ), [Column 1] )
Por cierto, archivo .pbix adjunto.
Saludos
Icey
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola @adamnimmo ,
Cree dos columnas así:
Column 1 =
VAR thislocation = Sheet1[Location]
VAR FirstLessThan3Index =
CALCULATE (
MIN ( Sheet1[Index] ),
FILTER ( ALLEXCEPT ( Sheet1, Sheet1[Location] ), [Qualifying] = BLANK () )
)
RETURN
IF (
FirstLessThan3Index > Sheet1[Index]
&& Sheet1[Location] = thislocation,
1,
0
)
Column 2 =
VAR thislocation = Sheet1[Location]
RETURN
SUMX ( FILTER ( Sheet1, Sheet1[Location] = thislocation ), [Column 1] )
BTW, archivo .pbix adjunto.
Saludos
Icey
Si este post ayuda,entonces por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
@adamnimmo datos es muy difícil de entender con toda la columna conectada, puede pegar los datos en formato de tabla o compartir a través de Excel y también publicar el resultado requerido.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@adamnimmo gracias por el archivo de Excel, pero ¿qué es la lógica para lograr el resultado?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k Tengo dos ubicaciones de ejemplo (Cell1 y Cell2) para Cell1 tenemos 9 auditorías calificadas (todas las puntuaciones superiores a 3.0), sin embargo, también tenemos una brecha en las auditorías de calidad simultáneas (fila 9-11). Así que dentro de este ejemplo de celda quiero contar solamente el último grupo de auditorías calificadas (7x) ya que estos son los últimos resultados simultáneos. La misma lógica es verdadera para el ejemplo de Cell2, solo necesito devolver la última agrupación de resultados simultáneos (3x).
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 |