Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Include calculated dimension in expression

Hi Community,

I have a calcuated dimension I would like to have in the expression of a pivot table(for user functionality reasons.)

the calcluated dimension is if(leafhdrtxt=[Division Abbreviation],[Division Abbreviation])

The expression to tie it into is:

-1*sum({ $<  balcode={'ACTUAL'},

LinkYear= {$(=$(vCurrentFiscalYear))},

LinkMonth=CurrentDocumentMonth3,

={'DPCOMP'}

             >}PeriodTotal/1000)

Any ideas?

4 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Not sure what are you trying to achieve with the calculated dimension, and what do you mean by "tying the expression" to it? Please clarify the desired goal and the question.

Not applicable
Author

I have a pivot table with the inner most dimension as the calculated one above.  I would like to have the dimension as just division abbreviation and include the calculated part in the expression for the chart(same as one above.)

Not applicable
Author

I had to use the calculated dimension to get the chart to give the right value

Nicole-Smith

Try this:

-1*sum({ $<  balcode={'ACTUAL'},

LinkYear= {$(=$(vCurrentFiscalYear))},

LinkMonth=CurrentDocumentMonth3,

[code]={'DPCOMP'},

leafhdrtxt=[Division Abbreviation]

             >}PeriodTotal/1000)