Randy_Coates's avatar
Randy_Coates
New Member
5 years ago
Status:
New

Make Calculation Groups like Decorator Pattern

Many times the use of a Calculation Group is hindered by the way that a measure is used in a visual. For example, if I want to have a KPI visual that shows the current year sales with Goal of last year's sales, it would be convenient if I could have a single Sales measure and choose to apply a Last Year calculation item to the Goal field. Much like the Decorator Pattern (https://en.wikipedia.org/wiki/Decorator_pattern), in the pop-out menu of a measure that is being used in a visual, Power BI could provide the opportunity to add a decoration, a calculation item, that alters the measure in some way such as time intelligence. In other words, alongside "Rename for this visual," "Show value as," and "New quick measure" could be a menu pick "Decorate with calculation item" that allows one or more calculation items to be applied.

Recent ideas