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, por favor su ayuda para realizar la siguiente busqueda de acuerdo un producto, la cantidad ( en un rango ) y el descuento que debe entregarme, lo he intentado pero no logro dar con la formula DAX.
Son tablas : Registros y Productos
Registros
Productos
Debe reflejarse el descuento en la primera tabla , segun la cantidad entre el rango establecido.
Muchas gracias por las respuesta, esto me ha quitado el sueño ya varias noches ....
Solved! Go to Solution.
@fav_ccc2021 , Create a new column in the table 1
maxx(filter(Table2, Table2[Producto] = table1[Producto] && Table2[cantidad Inicial] <= Table[cantidad] && Table2[cantidad final] >= Table1[cantidad]), Table2[descuento])
@fav_ccc2021 , Create a new column in the table 1
maxx(filter(Table2, Table2[Producto] = table1[Producto] && Table2[cantidad Inicial] <= Table[cantidad] && Table2[cantidad final] >= Table1[cantidad]), Table2[descuento])
My friend, you are the BOSS!!! It works perfectly .... Its awesome.,
Thanks a lot ...
Best regards
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 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
19 |