Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Label in Pivot table

Hi Friends

I have shown here a screenshot of my pivot table where date in label  of last column is incorrectly shown as 31-Feb-2020 and it should actually be 28-feb 2020.

Screenshot_1.png

My expression for label is   ='Balance as at '&Day(MonthEnd(Date#(PERIODID,'D')))&'-'&Date(Date#(PERIOD,'YYYYMM'),'MMM-YYYY')

Kindly help me to get it corrected.

 

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi,

Try with

Date(monthend(Date#('01'&PERIOD,'DDYYYYMM')),'DD-MMM-YYYY')

View solution in original post

4 Replies
sergio0592
Specialist III
Specialist III

Hi,

Try with

Date(monthend(Date#('01'&PERIOD,'DDYYYYMM')),'DD-MMM-YYYY')
upaliwije
Creator II
Creator II
Author

Thanks It works,

But I want to what does it mean by  

'01'

in your expression. Pls clarify for me to learn 

sergio0592
Specialist III
Specialist III

It's just for represent in the date the first day of month. It's the DD in DDYYYYMM.

upaliwije
Creator II
Creator II
Author

Thanks