Skip to Content
author's profile photo Former Member
Former Member

How to use functions in IDT

Hi,

I am trying to create dimensions in the business layer however I am having issue to create some due to the functions since I am a beginner.

I am trying to create the following fields:

1. Material Number - I want to pull all the data from fact table in the dfx except for null values

2. Requirement type - I want to pull data from the fact table where the values in the field is 'AR'

3. Requirement qty - I want to pull data from the fact table where the values are greater than null values

4. Item is deleted - I want to pull all the data from fact table except for 'X'

5. Movement type - I want to pull only data with '261' from the fact table.

Material Number

Is coming from this field and in this field is where I would like to exclude 'Null' values

Requirement Type

Is coming from the field as below and here I where I only want to pull data with 'AR' value.

Requirement Qty

Is coming from the field below and I want to pull data > 'Null' value

Item is deleted

Is coming from the field below where I want to pull data except for 'X'.

Movement Type I will follow the logic as in Requirement Type.

Please assist me with the functions and also where I can learn move on how to use functions in Information Design Tool.

I know how to use 'CASE WHEN...THEN' which works like the "If...ElseIf..." function.

Thank you in advance and looking forward to learn better,

Thank you in advance for all the help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 15, 2015 at 05:33 PM

    Hi,

    Use this.

    Material Number:Put the below condition in where clause of the object in business layer.


    @Select(IX Monthly\File Name) IS NOT NULL


    Requirement type:condition in where clause.


    @Select(class name\File Name) ='AR'


    Item is deleted:condition in where clause.


    @Select(class name\File Name) <>'X'


    Amit




    1.png (21.7 kB)
    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.