Forum Discussion

ktimbers's avatar
ktimbers
Regular Visitor
3 years ago

Grouping parameters into matrix

I am hoping someone can help me.

 

I have a parameter set up with hundreds of measures. Within the parameter table I have categorized each measure by the type of measure, the time frame of the measure and the time group of the measure.

 

For example:

 

Measure NameMeasure typeTimeframeTime Group
Current Year Sales $Sales $YearlyCurrent
Last year Sales $Sales $YearlyPrior
Yearly Sales Var $Sales $YearlyVariance
Yearly Sales Var %Sales $YearlyVariance %
Current Year Credits $Credit $YearlyCurrent
Past year Credits $Credit $YearlyPrior
Credits Var $Credit $YearlyVariance
Credits Var %Credit $YearlyVariance %
Current Month Sales $Sales $Current MonthCurrent
Current Month Past year Sales $Sales $Current MonthPrior
Current MonthSales Var $Sales $Current MonthVariance
Current Month Sales Var %Sales $Current MonthVariance %
Current Month Credits $Credit $Current MonthCurrent
Current Month Last year Credits $Credit $Current MonthPrior
Current Month Credits Var $Credit $Current MonthVariance
Current Month Credits Var %Credit $Current MonthVariance %

 

I want to be able to pull this data into a matrix, with Measures as the values, Time Group as the column headers, Measure Type as the row headers and Time Frame as the parameter for user selection. However, when I put the measure in the values, it brings every measure into the to Time Group.

 

Example end product expectation:

 

 CurrentPriorVarianceVariance %
Sales $12344321-308729%
Credit $12344321-308729%

 

Any help would be greatly appreciated.

 

 

1 Reply