This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |