Forum Discussion
Share based on total for specific value
- 6 years ago
Hi Anonymous
Create measures
total exsits = SUM('Table'[exsits]) exsits in country = CALCULATE(SUM('Table'[exsits]),FILTER(ALLSELECTED('Table'),'Table'[market]="country")) % = [total exsits]/[exsits in country]Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , Not very clear. But seem like you need % of sub total
https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390
- Anonymous6 years agoNot applicable
Hi amitchandak ,
Thank you for your reply. Sorry if my question was not clear enough. I need to have the value for 'Exists Country' on each row of the matrix in order to calculate the share. So in the area marked with red I want to have the value 29 on each row.
- amitchandak6 years agoSuper User
Anonymous ,Can you share sample raw data in table format
- Anonymous6 years agoNot applicable
Hi,
I attached a sample of the table. Unfortunately, I can not put the data here so I modify it. Hope it is understandable.
Thank you!