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
Syndicate_Admin
Administrator
Administrator

Necesita un total de calculado si la medida de la condición

Hola

Necesito un total de medidas calculadas (fórmula 2), por ejemplo:

Fórmula 1 -divide(sales]),DATEDIFF(MAX('Calendar'[Start Year]),MAX('Calendar'[Date]),MONTH) +1 )

Fórmula 2- if (fórmula 1>=300,1,0)

En la siguiente tabla necesito fórmula 2 sholud total ser 1+1 = 2, pero todavía mostrando 0 por favor guíame para esto .

Ventasfórmula 1formula 2
5002500
7003501
8004001
Total - 2000Total - 1000Total -0

amablemente me ayudan .

Gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Rajendrabobade , if(fórmula 1>=300,1,0)

Necesita un contexto, así que si no da eso, si va a volver a calcular a gran nivel total

supongamos que tiene un grupo por visual que puede intentar

sumx(Summarize(Table, Table[Column], "_1",if([fórmula 1]>=300,1,0)),[_1])

referir: https://www.youtube.com/watch?v=qE5KBp4uP0g

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Rajendrabobade , if(fórmula 1>=300,1,0)

Necesita un contexto, así que si no da eso, si va a volver a calcular a gran nivel total

supongamos que tiene un grupo por visual que puede intentar

sumx(Summarize(Table, Table[Column], "_1",if([fórmula 1]>=300,1,0)),[_1])

referir: https://www.youtube.com/watch?v=qE5KBp4uP0g

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.