jcoke
jcoke

Reputation: 1891

Converting boolean to 1's and 0's in Azure Data Factory

I have a JSON file which contains a boolean and what I wanted to know was whether it's actually possible to convert these TRUE and FALSE's to 1's and 0's within the pipeline?

enter image description here

Any help or information will be greatly appreciated.

Upvotes: 1

Views: 2731

Answers (2)

Vijayamathankumar
Vijayamathankumar

Reputation: 3

  1. U can use bool() function to convert the string to a Boolean
  2. Then compare it in the condition

Upvotes: 0

Joseph  Xu
Joseph Xu

Reputation: 6043

We can convert these TRUE and FALSE's to 1's and 0's via Direved Column in data flow.

Upvotes: 1

Related Questions