Forum Discussion
Table.ReplaceValues Only accepts my last entry
- 2 years ago
Hi Decal,
You forgot to update all table references by which I mean the #"Changed Type" here in your code.
Table.ReplaceValue(#"Changed Type",
For the first line of code that is probably true (I can't verify as it is not included in the snippet)
But for the second line you should pass your transformed table on, like so:
#"AddTimeType1" = Table.ReplaceValue(#"Changed Type", null, each if [Job Requisition] = "R2620 ... }),
#"AddTimeType2" = Table.ReplaceValue(#"AddTimeType1",null, each if [Job Requisition] = "R3334 ... }),
#"AddTimeType3" = Table.ReplaceValue(#"AddTimeType2", and so on.I hope this is helpful
Hi Decal,
You forgot to update all table references by which I mean the #"Changed Type" here in your code.
Table.ReplaceValue(#"Changed Type",
For the first line of code that is probably true (I can't verify as it is not included in the snippet)
But for the second line you should pass your transformed table on, like so:
#"AddTimeType1" = Table.ReplaceValue(#"Changed Type", null, each if [Job Requisition] = "R2620 ... }),
#"AddTimeType2" = Table.ReplaceValue(#"AddTimeType1",null, each if [Job Requisition] = "R3334 ... }),
#"AddTimeType3" = Table.ReplaceValue(#"AddTimeType2", and so on.
I hope this is helpful