Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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
Avatar of HainKurt
HainKurtFlag of Canada imageSr. System Analyst

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

Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answers