Skip to Content

create new column in information steward based on condition

Hi All,

i want to add a new column in information steward view but i want to put a condition per below example

if the result column is having 'missing' the new column should be filled with Missing country if the result column is populated then it should be kept blank

Material plant Result New column 132 3210 Missing Missing country 3330 3210 Poplulated
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 29, 2020 at 06:07 AM

    Hi Abdul,

    You can add new the column in view and in Mapping you can write either "If-then-else" condition or "Decode" will also work very fine.

    For example you can use like:

    Decode( DBName.dbo.TABLENAME.COLUMNNAME='Missing', 'Missing country', DBName.dbo.TABLENAME.COLUMNNAME)

    Let me know if any issue. Happy to Help :)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 29, 2020 at 07:53 AM

    thank you Ajit it worked

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.