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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Como unir metas de comisión para un vendedor

Hola tengo un problema el cual necesito algun prefijo parecido al intervalmatch de qlikview.

Este es el ejemplo:

 

Tengo que unir metas, ya que si un vendedor hace una venta por un smartphone entre el 10 y el 20 de diciembre se gana una comision de 50 dolares, pero si vende el mismo smartphone entre el 20 y 30 de diciembre la comision es de 70 dolares.

A eso debo agregar que si en la venta se suma un smartwatch aumenta la comision para el vendedor en 40 dolares.

 

Por favor si alguien sabe de alguna manera que pueda calcular esto en PowerBi me salva la vida ya que esto es del trabajo y la verdad no me habia tocado ver algo de este tipo.

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

I have tried to create a sample. Please have a try.

11.PNG

Create a measure.

check = var day_month= DAY(SELECTEDVALUE('Table'[Date]))
var fan = IF(day_month <=20&&day_month>=10,50,IF(day_month>20,70,BLANK()))
var result= IF(SELECTEDVALUE('Table'[fu])="watch",fan+40,fan)
return result

22.PNG

If I have misunderstood your meaning, please provide some sample data and desired output.

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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