Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Team ,
This is BI power query,
I am looking for a solution , need formula to replace "null " to date promised data if original promise date is null or no information.
I am trying the add column> conditional column , but it does'nt t work , error.
Regards, Keen
Solved! Go to Solution.
if my code solved your problem, accept it as a solution
if my code solved your problem, accept it as a solution
pls try this code
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("Zc7JDcAgDATAXvxGyAfhqAXRfxsQ8Yg3lvxhZ20xJ7HkM8pqlIh7Zr2PlY6pt4FmzoTRijdBe5zdpIak+f2C+z20h29XaL8f+6yhyf+SaEgMkrUB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Date Promised" = _t, #"Original Promise Date" = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Date Promised", type date}, {"Original Promise Date", type date}}),
#"Replaced Value" = Table.ReplaceValue(#"Changed Type",null, (x)=>x[Date Promised], (x,y,z)=> if x = null then z else x,{"Date Promised","Original Promise Date"})
in
#"Replaced Value"
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.
User | Count |
---|---|
72 | |
71 | |
56 | |
38 | |
35 |
User | Count |
---|---|
85 | |
66 | |
59 | |
46 | |
45 |