Skip to Content

Override sum aggregation in WEBI


I have a requirement wherein I have to display amount corresponding to recent date.

My data looks something like below -

Date ( Dimension ) Amount ( Measure ) 12/31/2015


12/31/2015 4 12/30/2015 4 12/30/2015 0 12/30/2015 5 12/29/2015 0 12/28/2015 4 12/28/2015 2 12/27/2015 6

I want to display recent date, date being measure, I have used max() function and its working fine. Next I need to display amount corresponding to recent date - so for 12/31/2015, the amount displayed should be as - 7 instead I get a total i.e. 28. How do I achieve this ?

My formula looks something like below -

Recent Date Amount max ( [Date] ) [Amount] where [Date] = max ( [Date] ) 12/31/2015 28



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 13, 2016 at 12:01 PM

    use the below formula for amount to show the value 7

    =[Amount] Where( [Date] =Max( [Date]) In Report)



    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.