Share via

Expression Required for Replacing the Value (DerivedColumn) ADF

Kunal Bhatia 71 Reputation points
2022-04-28T17:09:36.81+00:00

What Expression should I use to Replace the Value From 0.00000000 to 1.00000000

In Derived Column - I tried using this Expression , but it gives me NULL result in Preview Output.

This Expression --> case(LocalToBaseRate == 0.00000000,'1')

Column Name = LocalToBaseRate
Value I want to Replace whereever it finds "0.00000000" , it should replace to "1.00000000"

197436-image.png

Please suggest the expression for Derived column .

Thanks

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

Answer accepted by question author

Nasreen Akter 10,896 Reputation points Volunteer Moderator
2022-04-28T19:51:46.58+00:00

Hi @Kunal Bhatia ,

Would you please try case(LocalToBaseRate == 0.00000000, 1.00000000, LocalToBaseRate) . Thanks!

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.