Forum Discussion
Row context measure
Hi,
I would be extremely thankful if someone could help me on the following:
My data consists of a hierarchy of business units and data on turnover, acquisition turnover, prior year turnover and deflated turnver. I have created a measure (new column), which calculates the sales growth as follows (This is for the lowest level of business unit):
Hi Anonymous
You need to create measures instead column in query editor or new column in Modeling menu.
Measure = SUM(Table1[turnover])+SUM(Table1[acquisition turnover])+SUM(Table1[prior year turnover])+SUM(Table1[deflated turnver]) Measure 2 = (SUM(Table1[turnover])+SUM(Table1[acquisition turnover]))/(SUM(Table1[prior year turnover])+SUM(Table1[deflated turnver]))
For example, add them in a matrix visual,
click on the icon "expand all down one level in a hierarchy"
or click on the icon "go to next level in a hierarchy"
Best Regards
MaggieCommunity Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- v-juanli-msftCommunity Support
Hi Anonymous
You need to create measures instead column in query editor or new column in Modeling menu.
Measure = SUM(Table1[turnover])+SUM(Table1[acquisition turnover])+SUM(Table1[prior year turnover])+SUM(Table1[deflated turnver]) Measure 2 = (SUM(Table1[turnover])+SUM(Table1[acquisition turnover]))/(SUM(Table1[prior year turnover])+SUM(Table1[deflated turnver]))
For example, add them in a matrix visual,
click on the icon "expand all down one level in a hierarchy"
or click on the icon "go to next level in a hierarchy"
Best Regards
MaggieCommunity Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- AnonymousNot applicable
Thank you so much v-juanli-msft ! This worked.