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.
¿Cómo agredo una columna en el editor de consultas como lo hice en la columna "fácil" de agregar mediante dax?
Datos:
Entró en | Valutadatum | Maatgevende boekdatum | Comentario |
01-07-2019 | 01-01-2020 | 01-01-2020 | (maxdate) |
01-02-2020 | 01-01-2020 | 01-02-2020 | (maxdate) |
01-02-2020 | 01-01-2019 | 31-12-2019 | año (fecha de la moneda) < año (introducido en) |
Esto funcionó:
maatgevende boekdatum ?
VAR date_1 - 'Presupuesto FM'[Introducido en]
VAR date_boeking - 'Presupuesto FM'[Valutadatum]
VAR year_1 - Año(date_1)
VAR year_boeking á año(date_boeking)
VAR maxdatum á max(date_1;date_boeking)
devolución
IF (year_boeking<year_1;
DATE(year_boeking;12;31); para adiciones anti-fechadas
FECHA(año(maxdatum);month(maxdatum);d ay(maxdatum)))
En el editor de consultas he intentado Agregar columna personalizada usando
else List.Max([Entered on],[Currency Date], tipo de fecha)
pero eso da un error "token comma esperada"
Solved! Go to Solution.
Le falta paréntesis finales para cerrar #date(
También el List.Max necesita una lista como entrada. Por favor, intente esto en su lugar
else List.Max(-[Ingresado en],[Fecha de la moneda]))
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Le falta paréntesis finales para cerrar #date(
También el List.Max necesita una lista como entrada. Por favor, intente esto en su lugar
else List.Max(-[Ingresado en],[Fecha de la moneda]))
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
YES thanks!
With a little shaving to #date this was the final one:
if Date.Year([Valutadatum])<Date.Year([Ingevoerd op])
then #date(Date.Year([Ingevoerd op]),12,31)
else List.Max({[Ingevoerd op],[Valutadatum]})
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 | |
2 | |
2 | |
2 | |
1 |