Forum Discussion
mrvamsidhar
8 years agoHelper I
Calculate Total and %
Hello, I am working on Power-Bi Dashboard to set up simple table using below. I need to show % of each product and total sales in a Month. I am having Table1. My output should be Table 2. Here i...
- 8 years ago
Thanks. I figured it out. CALCULATE(SUM('Table'[Sales]),GROUPBY('Table','Table'[Month]),ALL('Table')).
thats it. - I need to tell to DAX exclude all filters. so ALL() did the trick.
masitbaha
8 years agoRegular Visitor
How about using 'Matrix' instead of 'Table'?
- mrvamsidhar8 years agoHelper I
Thanks. I figured it out. CALCULATE(SUM('Table'[Sales]),GROUPBY('Table','Table'[Month]),ALL('Table')).
thats it. - I need to tell to DAX exclude all filters. so ALL() did the trick.