Forum Discussion
How to create a calculated row in a matrix?
- 10 years ago
Greg_Deckler ibach You can create a custom formula that evaluates the last Total row ( based on the filter context ) and changes the formula or leave it blank, depending what rows you have on matrix and what other cross filtering you will have..
i.e if you have months on rows you can change the grand total row with a new measure like [Custom Income] = IF ( HASONEVALUE(Dates[Month]; [SumOfIncome] ; [Net Income]) or IF(COUNTROWS(VALUES[Dates[Month])>1.........)
Sounds like what you want is a measure with your formula in it and a Matrix visualization with your months as rows. Then you could have your measure as a column.
Thanks for the quick reply! :smileyvery-happy: So I would have to flip x & y around around. Is that that only way you see something like this working with a Matrix visualization? It would be nice to have it at the bottom if possible, but if not, it is what it is I guess.