Forum Discussion
ttcalendar
6 years agoFrequent Visitor
DAX Measure If Row header is then
Hi, I have a matrix table where there are 4 row headers for a P&L report. I've been looking for a measure where it would calculate "Global Var% of LY" based on the table maxtrix row name. The c...
az38
Community Champion
6 years agoHi ttcalendar
If i understand you correct in the most common case you can try a measure like
= IF(MAX('Table'[Row level1]) = 'TOTAL NEW SALES', [Global Total Value TY]-[Global Total Value LY])/[Global Total Value TY], [Global Total Value LY]-[Global Total Value TY])/[Global Total Value LY])