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

Elseif in Webi

while creating a report in Webi , i am using a cross table and i want to calculate total for some dimension values.

For this i have created a dimension using the IF function.

Like: If([Dimension]="10" Or [Dimension]="30" )Then "10/30" Else "15/20" . This is working fine.

But when i include total also in it , it does not give the value of total

like : If([Dimension]="10" Or [Dimension]="30")Then "10/30"

ElseIf ([Dimension]="15" Or [Dimension]="20") Then "15/20"

ElseIf([Dimension]="10" Or [Dimension]="30" Or [Dimension]="15" Or [Dimension]="20") Then "Total"

10/30, 15/20 are comming but Total is not comming,

Any idea or any other alternative.

Thanks in advance..

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2012 at 05:44 AM

    Dear Rahul,

    The condition got satisfied in first & second if block itself and so its not going to last ElseIF loop.

    Hope this clears. Let me know if i misse dout something

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 06, 2012 at 05:50 AM

    Hi Rahul,

    Just Check your formula or check whether the field you are using in formula is dimesion or something else.

    Because i tried the same same elseif formula but my result coming correct . I am attaching a screenshot with example.It really help you.

    Regards,

    Anish


    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.