Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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.
Hi @Anonymous ,
I have tried to create a sample. Please have a try.
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
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |