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.
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.
@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |