- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Busqueda aproximada por condición y rangos con DAX
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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])
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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])
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My friend, you are the BOSS!!! It works perfectly .... Its awesome.,
Thanks a lot ...
Best regards

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
11-12-2024 09:29 AM | |||
Anonymous
| 08-22-2022 08:26 AM | ||
07-16-2024 03:03 AM | |||
08-29-2024 04:34 PM | |||
Anonymous
| 10-31-2023 11:28 AM |
User | Count |
---|---|
24 | |
12 | |
10 | |
10 | |
8 |
User | Count |
---|---|
16 | |
14 | |
13 | |
12 | |
10 |