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

¿Cómo calculo las comisiones de ventas por representante de ventas por mes?

Mi conjunto de datos tiene un aspecto similar al siguiente:

mesRepresentante de ventasCantidad vendida
EneroRamon50
EneroRamon70
FebreroJennifer30

Si un representante de ventas vende más de 100 unidades por mes (como Ramón en el ejemplo anterior), ese representante de ventas obtiene $ 1,000 en comisión. ¿Cómo calculo una columna de medida/calculada para esta comisión?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

No @javier0rosas ,

puedes hacerlo así:

10-07-_2021_23-26-44.png

Sum of Quantity sold = SUM('Table'[Quantity Sold])

Comission = IF([Sum of Quantity sold] > 100 , 1000 , 0)

Con un cordial saludo desde la ciudad donde la leyenda del 'Gaitero pied de Hamelin' está en casa
FrankAT (Orgulloso de ser un Datanaut)

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

No @javier0rosas ,

puedes hacerlo así:

10-07-_2021_23-26-44.png

Sum of Quantity sold = SUM('Table'[Quantity Sold])

Comission = IF([Sum of Quantity sold] > 100 , 1000 , 0)

Con un cordial saludo desde la ciudad donde la leyenda del 'Gaitero pied de Hamelin' está en casa
FrankAT (Orgulloso de ser un Datanaut)

Syndicate_Admin
Administrator
Administrator

Hay @javier0rosas

Puede agregar una medida

Comisión =

Var _Q = SELECTEDVALUE('Tabla'[Cantidad vendida])

devolución

IF(_Q >= 100 , "$ 1.000" , "N/D")

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.