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 una tabla (info_table) con la información que necesito usar para crear una nueva columna en una tabla diferente (data_table).
info_table
promo_name | Fecha_inicial | Fecha_final |
Aaa | 01/12/2020 | 03/12/2020 |
Bbb | 05/12/2020 | 07/12/2020 |
data_table
Id | Fecha |
1 | 02/12/2020 |
2 | 04/12/2020 |
3 | 05/12/2020 |
Columna resultante, en data_table:
promo_name |
Aaa |
Ninguno |
Bbb |
Mi fórmula:
El problema con esta fórmula es que simplemente asigna la primera fila correctamente.
En este momento estoy evitando esto creando una fórmula e insertando las condiciones que quiero manualmente, pero me gustaría que se actualizara correctamente de acuerdo con los diferentes promo_names en info_table.
Cualquier ayuda será apreciada!
Solved! Go to Solution.
@martifapa , Crear una nueva columna en data_table
nueva columna - fusiones(maxx(filter(info_table, info_table[start_date] <-data_table[date] && info_table[end_date] >-data_table[date]),[promo_name]),"None")
@martifapa , Crear una nueva columna en data_table
nueva columna - fusiones(maxx(filter(info_table, info_table[start_date] <-data_table[date] && info_table[end_date] >-data_table[date]),[promo_name]),"None")
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 |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |