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

changing dimension

Hi,

I have a report in which I have a customer name which has got changed from last month. If I want to display in a cell this customer name for latest date how do I do that? How to write the formula for this?

Basically this cell should display customer name for latest date available in data provider.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 02:15 PM

    Create a Flag object =If Date = Max(<date> In Body) In Report Then 1 else 0

    In your cell : = <Customer Name> Where ( Flag = 1 )

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      THere is no LOV because this variable is an aggregate. Also the Where clause wont work in your example as it should be

      =Measure Where (Dimension = unique value)

      As I dont know what kind of objects you have (Dimensions, Measures / Date, Character , Number etc) its difficult to tell you which route to take.

      Another option is to create a table with just the Date object.

      Add a column with = If <Date>=(Max(<Invoice Date> In Body) In Report) Then <Sales Person>

      This will give you the result you after. Place this in the footer of the table, go to format table and fold it. THis now only shows you the footer with your required result. You can hide the Date column or format it so its invisable.

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.