Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to create custom Dimensions using Value List , the expression i am trying is as below:
valuelist(month(min({<Flag={'Act'}>}YearMonth))&'-'&month(AddMonths(min({<Flag={'Act'}>}YearMonth),2)),
month(AddMonths(min({<Flag={'Act'}>}YearMonth),3))&'-'&month(AddMonths(min({<Flag={'Act'}>}YearMonth),5)))
I have tried static Dimension values by hardcoding but using functions I am trying for the First time not sure if this approach works, in case it does'nt would like to know if there is anyother alternative
You can't use the set analysis in custom dimensions or calculated dimensions.
One way is try to create a variable where you write the set expression with = sign and then use this variable in value list expression
Any suggestions @Vegar , @kaushiknsolanki
Try this.
valuelist('$(=month(min({<Flag={'Act'}>}YearMonth)))&'-'&$(=month(AddMonths(min({<Flag={'Act'}>}YearMonth),2))),
$(=month(AddMonths(min({<Flag={'Act'}>}YearMonth),3)))&'-'&$(=month(AddMonths(min({<Flag={'Act'}>}YearMonth),5)))')
Regards,
Kaushik Solanki
It does'nt work shows '-' as value in dimension column of the table
Attached sample doc for reference
You can't use the set analysis in custom dimensions or calculated dimensions.
One way is try to create a variable where you write the set expression with = sign and then use this variable in value list expression