Forum Discussion
% of change in Matrix Table
Hi shzyincu,
I was suggesting that you create all 3 measure as mention in past reply and then pull all of them in Values, and let the column field be empty
-Sumit
sumit4732 I did the expressions seperately and then made the third field, but still, what you mean by keep the column field empty? kindly if you can explain in detail?
- sumit47329 years ago
Advocate II
Hi shzyincu,
If you are goin for Metrix, there are three fields:
1. Rows : put the column with month name here
2. Columns : dont place any column/measure here
3. Values : put the three measures that you have created [for Year 2016 ], [for Year 2016 ], [for Diff]
You can just use a simple table also now, just pull Month, [for Year 2016 ], [for Year 2016 ], [for Diff] in values.
Hope this helps
-Sumit
- shzyincu9 years ago
Helper I
sumit4732 this does not render the desired output then,
2. Columns : dont place any column/measure here, if i don't put YEAR field here, it sums up both years sales values in one column i need to show multiple columns for each year.
- sumit47329 years ago
Advocate II
Hi,
Aplogies if I was not clear the last time.
I want you to create this three Measures,
1. Year2016 = CALCULATE(SUM(test[Value]),FILTER(ALL(test[year]),test[Year]=2016))
2. Year2017 = CALCULATE(SUM(test[Value]),FILTER(ALL(test[year]),test[Year]=2017))
3. %diff= ([Year2017]/[Year2016])-1
Now, in Metrix
1. Rows : put the column with month name here (Jan, Feb, etc..)
2. Columns : dont place any column/measure here
3. Values : put the three measures that you have created [Year2016 ], [Year2017 ], [%diff]
If this doesnt work please share screenshot with what proble you are facing.
-Sumit