Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts,
Can any one please help me on below requirement. I have a Table like below.
In the KPI I have to show Max of Month Year where Type= a i.e., Apr 2019.
I have tried below expression.But its not working showing Dash(-) in KPI.Please help me on this.
if(Match(Type,'a'),Date(Max([Month Year]),'MMM YYYY'))
Type Month Year
a Jan 2019
a Feb 2019
a Mar 2019
a Apr 2019
b Jan 2019
b Feb 2019
b Mar 2019
b Apr 2019
b May 2019
b Jun 2019
-
Thanks in advance
Try this way
MaxString([Month Year])
Or
Max(Month) & ' ' & Max(Year) // If u have Month and Year separate field
Or
MonthName(Max(DateField))
Thanks for your help.
By the above expressions I am getting max of Month year as Jun 2019 but I have to get Type a related max of month year i.e., Apr 2019
Try this?
MaxString({<[Month Year] ] {"<$(=MonthName(Today()))"}>} [Month Year])
Or
Max(Month(AddMonths(Today(),-1))) & ' ' & Max(Year)