Skip to main content
Solved

Limit to property

  • February 9, 2023
  • 2 replies
  • 404 views

Forum|alt.badge.img+2

Dear community, is there any way I can bring values from a metric’s property to another property in a dimension that takes a value from a line all while specifying the property not to go beyond to make sure it takes the one before the current month?

 

P.S: I tried to use Remove LASTNONBLANK and it didn’t solve what I wanted.

 

Best answer by francois

Hi Khadija,

You might want to look at the FILTER or EXCLUDE modifiers. Using this before the LASTNONBLANK, you will exclude the values you wouldn’t want to be taken into account in your result.

 

2 replies

Keiran
Employee
Forum|alt.badge.img+11
  • Employee
  • February 17, 2023

Hi Khadija,

 

Hopefully my answer here: Fill date informed before a date | Community (gopigment.com) helps this.

 

I see you’ve mentioned current month - do you want this to dynamically change every month instead of being hardcoded? If so do you currently have a way to record current month (Such as using an application variable) that I can use to try and find a more suited answer.

 

Thanks,


francois
Employee
Forum|alt.badge.img+13
  • Employee
  • Answer
  • February 17, 2023

Hi Khadija,

You might want to look at the FILTER or EXCLUDE modifiers. Using this before the LASTNONBLANK, you will exclude the values you wouldn’t want to be taken into account in your result.