Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Quiero escribir una lógica en power query.
Si el año despachado = año actual, entonces null else Año despachado.
Creé una columna personalizada como IF [Dispatched Year] = Date.Year(DateYear.LocalNow()) then null else [Dispatched Year] Pero no funciona.
Gracias
Tenga en cuenta que M no tiene mayúsculas y minúsculas y que la función localnow era incorrecta.
if [Dispatched Year] = Date.Year(Date.From(DateTime.LocalNow())) then null else [Dispatched Year]
Palmadita
Está devolviendo todos los nulos incluso para el año despachado 2021
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.