Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Nuevo usuario que tiene problemas con la conversión de fórmulas de Countif Excel

Soy nuevo en Power BI y tengo dificultades con la siguiente fórmula countif en Excel dentro de Power BI. La fórmula se encuentra en la columna Req, en el número 1/countif (M:M,M2)y, a continuación, en una función de relleno para agregar la fórmula a cada fila. Aquí hay un fragmento de la tabla. He leído en foros que se sugiere utilizar Calcular, pero no estoy entendiendo cómo traducir esto para mi escenario particular. Gracias de antemano por cualquier ayuda.

JKLM
1Recuento de diapositivasReqAdhesiónFix

2

1

.25DG12345
31.25DG12345
41.25DG12345
51.25DG12345
611TE23456
71.33PW2323
81.33PW2323
91.33PW2323
101.50OP1234
111.50OP1234
1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@jsullinger probar esta medida

Measure = 
DIVIDE ( 1, CALCULATE( COUNTROWS ( Table ), ALLEXCEPT ( Table, Table ( [ColumnM] ) ) )

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



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.

View solution in original post

7 REPLIES 7
parry2k
Super User
Super User

@jsullinger probar esta medida

Measure = 
DIVIDE ( 1, CALCULATE( COUNTROWS ( Table ), ALLEXCEPT ( Table, Table ( [ColumnM] ) ) )

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



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.

Anonymous
Not applicable

THis es cómo traduje su fórmula recomendada,

Req - DIVIDE ( 1, CALCULATE( COUNTROWS ( exportdata ), ALLEXCEPT ( exportdata, exportdata[FixedAccession])))
No parece estar devolviendo los valores esperados.
Así que si tengo este Req listado 4 veces en la columna, es decir, DE1234, cada ocurrencia sería .25, por lo que
cuatro ocurrencias de DE1234 a 1 recuento total de solicitudes.
¿Tiene sentido?

@jsullinger agrediste mi expresión como medida cuando la pusiste en el objeto visual de la tabla lo que no funciona, ¿puedes ser más específico? ¿Recibes un error? ¿Resultado equivocado? ¿Qué es? ¿Cómo lo sabré?



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.

Anonymous
Not applicable

@parry2kmis disculpas, nuevas en esto. No estoy obteniendo los resultados esperados. Permítanme intentarlo de nuevo creando una medida.

@jsullinger no te preocupes, tómate tu tiempo, si te encuentras con un problema, compartes el archivo pbix con datos de muestra y eliminas información confidencial antes de compartir, puedes compartir usando una unidad drive/google o enviar directamente a mi dirección de correo electrónico dada en la sección de pie de página.



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.

Anonymous
Not applicable

@parry2k Descubrí que la razón por la que la salida no se veía correcta era que tenía un formato incorrecto para la columna por alguna razón. Una vez que corrigí eso, que dio la salida que estaba buscando . Sólo una respuesta rápida impresionante a mi consulta. ¡Muchas gracias por la ayuda!

Anonymous
Not applicable

¡Gracias!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors