Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Solved! Go to Solution.
Hi @Anonymous ,
Does market share require a percentage result, if yes, see the solution below.
Sample data
You can group by year and market to calculate the number of brands (without deduplication). The measure is as follows.
Brand quantities =
CALCULATE (
COUNT ( 'Table'[Brand] ),
FILTER (
ALLSELECTED ( 'Table' ),
[Year] = MAX ( 'Table'[Year] )
&& [Market] = MAX ( 'Table'[Market] )
)
)
Percentage = DIVIDE([Brand quantities],CALCULATE(COUNT('Table'[Brand]),ALLSELECTED('Table')))
Regarding Penetration, it is better to give an expected result and explain it.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Does market share require a percentage result, if yes, see the solution below.
Sample data
You can group by year and market to calculate the number of brands (without deduplication). The measure is as follows.
Brand quantities =
CALCULATE (
COUNT ( 'Table'[Brand] ),
FILTER (
ALLSELECTED ( 'Table' ),
[Year] = MAX ( 'Table'[Year] )
&& [Market] = MAX ( 'Table'[Market] )
)
)
Percentage = DIVIDE([Brand quantities],CALCULATE(COUNT('Table'[Brand]),ALLSELECTED('Table')))
Regarding Penetration, it is better to give an expected result and explain it.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Example measure
Share = divide( countrows(Table), calculate(countrows(Table), filter(allselected(Table), Table[Market] = max( Table[Market] ) )))
Avg Share =
Averagex(values(Table[Consultant]), [Share])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
28 | |
22 | |
12 | |
8 |
User | Count |
---|---|
75 | |
52 | |
46 | |
15 | |
12 |