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
cebd_31
Regular Visitor

Necesita ayuda con el gráfico diario Sí/No

Hola

Nuevo usuario aquí, ¿puede alguien por favor ayudarme con abajo?

Tengo un gráfico que necesito crear que se basa en una columna Sí/No, utilicé la siguiente fórmula:

% Sí/No - DIVIDE(COUNT(Table2[Yes/No]),CALCULATE(COUNT(Table2[Yes/No]),ALL(Table2)))
Y estoy por debajo de la tabla:

Chart Example.png

Sin embargo, el problema es que necesito que el porcentaje sea diario, no total de toda la información y no estoy seguro de cómo lograr esto.

Gracias de antemano.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@cebd_31 , Probar como

% Sí/No - DIVIDE(COUNT(Table2[Yes/No]),CALCULATE(COUNT(Table2[Yes/No]),ALLexpect(Table2, Table2[day])))

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@cebd_31 , Probar como

% Sí/No - DIVIDE(COUNT(Table2[Yes/No]),CALCULATE(COUNT(Table2[Yes/No]),ALLexpect(Table2, Table2[day])))

¡Eres increíble mi hombre!

Hola @cebd_31 ,

Podrías hacerlo con un par de medidas también

Yes = divide(
calculate(countrows('table2'),'table2'[Yes/No] = "Yes"), calculate(countrows('table2'),  ALL ( Table2[Yes/No] ))

No= divide(
calculate(countrows('table2'),'table2'[Yes/No] = "No"), calculate(countrows('table2'),  ALL ( Table2[Yes/No] ))



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


AlB
Super User
Super User

Hola @cebd_31

Tratar

% Yes/No =
DIVIDE (
    COUNT ( Table2[Yes/No] ),
    CALCULATE ( COUNT ( Table2[Yes/No] ), ALL ( Table2[Yes/No] ) )
)

Por favor, marque la pregunta resuelta cuando haya terminado y considere dar felicitaciones si las publicaciones son útiles.

Póngase en contacto conmigo de forma privada para obtener asistencia con cualquier necesidad de BI a gran escala, tutoría, etc.

Salud

SU18_powerbi_badge

Anonymous
Not applicable

Eso debería funcionar.

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.