I have a dimension with 3 categories and a measure of total sales count I want the ratio between one item of the category and the total
for example - I have a measure of fruit (Apple, Orange, Strawberry) I want the ratio of apple sales divided by total sales
Having trouble with the syntax
sum(([sales(fruit)='Apple']))/sum([sales])