troubleshooting Question

Logical Operator should return Integer value in SSIS

Avatar of hennanra3
hennanra3Flag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft SQL ServerSSIS* ETL
9 Comments1 Solution180 ViewsLast Modified:
Hi All,

I have a question as in SSIS I am using excel file source and in one of the columns I need to define attributes of that dimension. In order to do that I have to apply logical operator but it is returning the results in boolean i.e., either true false or '0' or '1'. However I want the numbers to be displayed after logical operator is applied. So, Sales column in showing data as :

Sales
28
74
165
34
321

And logical operator will work as
Sales>= 0 && Sales<=99 should be in "a. 0-99"
Sales>100&&Sales<199 should be in "b.100-199" and so on.

Currently I am using Derived Column but it is showing results in boolean form as mentioned above. But I want the numbers to be categorized for Sales. Please guide.

Thanks in advance.

P.S.  Currently Sales' column is of integer data type but can be changed
ASKER CERTIFIED SOLUTION
HainKurt
Sr. System Analyst

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros