Forum Discussion
Leo7736
2 years agoNew Member
Power bi matrix issue
Hi can someone give some insights about how to achieve this type of matrix in power bi ("Total" row as count of sales, "Total" column as sum of sales).
Leo7736 write a measure like this:
Measure = IF ( HASONEVALUE ( Table[Product] ), SUM ( Table[Sales] ), COUNTROWS ( Table ) )