I m using similar function for my dashboard [ First value and last value of the day]. and the data i m expecting only one record per month but receiving more than one record
please see my expression used in calculated field.
Hi @srinivasan_ab ,
what to you want to obtain as final result?
In this case the Month-VIN No are replicated cause there are the other fields which have different values, so it cannot become a single row (if I understood correctly your need).
Hi @srinivasan_ab ,
as you see, from your screenshot, you have fields in the Group By section which have different values, so it cannot become a single row as output.
Try removing start_odometer and end_odometer from the group by section if you do not need them, or put them in the Value section if you need to aggregate them in some way.
This is again providing me the Min(Start_Odometer) & Max(Start_Odometer) which is not correct when ever there is a reset of odometer value in between the month
In this case, for each combination, you will have a row with rank value 1, all the other ones as 0. Now you just have to filter the visual for rank = 1 and you will have one row per combination.
You don’t even have to add the field in the table.
Give this a try
You then hide the two start and end odometer field
Apologies from the community on missing your last response, please make sure to tag the user you’re responding to so that they get notified! If you’re still working at this, could you please provide a screenshot of what was produced from the last screenshot so that we can see how the ranking is altering the visual? Or if you were able to find a work around, feel free to share your solution here for the rest of the community.
Since we have not heard back, I’ll go ahead and close out this topic. However, if you have any additional questions regarding your initial post, feel free to create a new post in the community and link this discussion for relevant information.