Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi I have this Query:
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjbQNzDWNzIwNFWKjQUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Start Date" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Start Date", type date}}),
Custom1 = Table.AddColumn(#"Changed Type", "Second Column", each Date.AddYears([Start Date],1))
I am trying to incorporate this part "Date.AddYears([Start Date],1)" from 'Custom1' query in to 'Source' query.
However I don't really really know M language so I cant tell well what is happening in 'Source' query.
Anyone know how to do these changes or they cant be done at this step of the query?
Thanks
Try:
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjbQNzDWNzIwNFWKjQUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Start Date" = #"custom1"[Second Column]),
--Nate
Hi, @Anonymous I am getting cycle reference error.
Sorry for misunderstanding instead of trying to incorporate column what I needed was only Date.AddYears function.