Forum Discussion
Correcting erroneous data
- 6 years ago
Hi Anonymous ,
1. You can import both sql data and excel data into power bi desktop
2. In power query, use merge tables to merge these two tables based on [Contract number] column as a new table
3. Remove unnecessary columns, you can retain the excel correct data column or retain both of the early date column to use replace values in power query as your need:
= Table.ReplaceValue(#"Expanded Excel Data",each [Early Termination Date],each [Excel Data.Early Terminnation Date],Replacer.ReplaceValue,{"Early Termination Date"})Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
1. You can import both sql data and excel data into power bi desktop
2. In power query, use merge tables to merge these two tables based on [Contract number] column as a new table
3. Remove unnecessary columns, you can retain the excel correct data column or retain both of the early date column to use replace values in power query as your need:
= Table.ReplaceValue(#"Expanded Excel Data",each [Early Termination Date],each [Excel Data.Early Terminnation Date],Replacer.ReplaceValue,{"Early Termination Date"})
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.