Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Marketshare DAX

Hi guys,

 

I have two table, the first one with some data from sales on country (columns: client__id, product_category, value), and another with clients_id (my clients) from a region (every client_id in this table is in the first table). What I need a marketshare by category in percentage. For example:

 

CategoryCountry salesMy clientsMarketshare (%)
A1500007000070000/150000 = 46,6%
B1000003700037%
C2750006800024,7%

 

I related this two tables using client_id, but now, I dont know how to make the dax measure.

3 Replies