I have a dataset of countries and cases. I have created a measure to get a distinct count of cases per country. Please refer to the image below. I want the % share of each country. I want to create a measure that gives me a total of the count which is shown below. If I'm able to get the total I can divide this current measure of distinct count by the total count. I don't want to use the option where Power BI shows me the value as %of grand total. I want to manually calculate as a measure.
I'm new to PowerBI and DAX if there is any other better way please let me know. Basically what I need is % share of each country after I take their Distinct Count of cases.