Forum Discussion
What-if Function in a Matrix
Thanks, but I've already tried the standard what-if parameter. I know how to use those. I can only get it to calculate one value against the first column. I need different variables per category that add up to 100% per building.
- lbudack6 years agoAdvocate III
Sure. What other data do you need? Is the example at the top not sufficient?
For example, I need each building section to look somewhat like this:
Category Score Weight (from what-if) Weighted Score EQUIPMENT & FURNISHINGS 68.75% 10% 6.9% INTERIORS 72.39% 20% 14.5% SERVICES 68.23% 35% 23.9% SHELL 79.17% 20% 16.8% SITEWORK 40.73% 15% 6.1% I need the "weight" to come from a what-if function to calculate the "weighted score". How do I get it to change per building and per category?
- lbudack6 years agoAdvocate III
Here's my sample data: Sample Data
I have a measure to get the average score which is:
DIVIDE(SUM('Assessment Scores'[Rating]), SUM('Assessment Scores'[Possible Score]))I also have a measure that calculates the weighted score based on the what-if parameter:
'Assessment Scores'[Score divided by Possible] * 'Weight'[Weight Value]As a reminder, I'd like to be able to apply a weight to each category & building independently within the matrix. Thanks!