Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have a problem that I have never encountered before. When a add a column, power query removes the previous years row. The column formula is "If [LoadType] = "FTL" then [PlanShipDate] else [SchedShipDate]" Can someone tell me why this happens and how to stop if from happening.
Thanks
Solved! Go to Solution.
Thanks to all that responded. I found the problem. Someone changed the data table in the SQL database and the data was moved.
Thanks again
Thanks to all that responded. I found the problem. Someone changed the data table in the SQL database and the data was moved.
Thanks again
Please check this below options :
Check the Custom Column Formula:
Verify Data Types:
Could you please provide the sample data and also could you review the power query steps,
Please use the below formula maybe it is because of Nulls present in any of the columns,
if [LoadType] = "FTL" and [PlanShipDate] <> null then [PlanShipDate]
else if [SchedShipDate] <> null then [SchedShipDate]
else null
| User | Count |
|---|---|
| 15 | |
| 6 | |
| 6 | |
| 5 | |
| 5 |