Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

List Box

Hi Friends

I have a list box in my Q doc as shown below. This list box show all the date of the periods. I want to show only Month end Date of month. Pls hlep me 

Screenshot_1.png

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

You could create a calculated dimension:

=Aggr(If(Current = Floor(MonthEnd(Current)), Current), Current)

But a better solutions to create the month end as a different field in the load script, or set a flag value for the month ends:

LOAD ...
  Current,
  Date(Floor(MonthEnd(Current)) as CurrentME,
  ...

 

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

You could create a calculated dimension:

=Aggr(If(Current = Floor(MonthEnd(Current)), Current), Current)

But a better solutions to create the month end as a different field in the load script, or set a flag value for the month ends:

LOAD ...
  Current,
  Date(Floor(MonthEnd(Current)) as CurrentME,
  ...

 

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Brett_Bleess
Former Employee
Former Employee

Did the poster's response get you what you needed?  If so, please be sure to click the Accept as Solution button to give them credit.  If you still need further help, please update with a new post.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.