Forum Discussion
Anonymous
3 years agoNot applicable
% and number values in single column
how do make matrix for the following measures in a column
Revenue - 123123
Gross Profit - 24624.60
Gross Margin - 20%
Net Profit - 9234.225
Net Margin - 7.5%
2 Replies
- EndiiiFrequent Visitor
The question is what design you would like to get.
If simple one where values are displayed as rows like:Then your formula would be:
Gross Profit & Margin = 'Table'[Gross Profit] & " " & FORMAT('Table'[Gross Margin],"Percent")and
Net Profit & Margin = 'Table'[Net Profit] & " " & FORMAT('Table'[Net Margin],"Percent")If you want to achiev something else, please provide more details
- mmanicakvasagamNew Member
Error came
i used following Dax, please check and adviceAmt =SWITCH(TRUE(),MLayout[name] = "Revenue", [Revenue],MLayout[name] = "Gros Profit", [GP],MLayout[name] = "Gros Margin", [GP Margin])