Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I need to replace the value of a column if the original value is less than a certain date. I have it working with a discreet date, but how do I modify the following to make it work for any date less than 1970-01-01?
#"Replaced Value" = Table.ReplaceValue(#"Expanded project","1962-01-01",null,Replacer.ReplaceValue,{"award_notice_date"}),
Thanks!
Solved! Go to Solution.
I would add conditional column:
= Table.AddColumn(#"Expanded project", "Replaced Award Date", each if [award_notice_date] < #date(1970, 1, 1) then null else [award_notice_date])
Hi @Anonymous ,
Have you resolved the problem? If not, please try like this:
= Table.ReplaceValue(#"Expanded project",#date(1962, 1, 1),null,Replacer.ReplaceValue,{"Date"})
Hi @Anonymous ,
Have you resolved the problem? If not, please try like this:
= Table.ReplaceValue(#"Expanded project",#date(1962, 1, 1),null,Replacer.ReplaceValue,{"Date"})
I would add conditional column:
= Table.AddColumn(#"Expanded project", "Replaced Award Date", each if [award_notice_date] < #date(1970, 1, 1) then null else [award_notice_date])
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 29 | |
| 27 |