Follow these three measures
amount_A =
CALCULATE(
SUM(pie_chart_data[AMOUNT]),
FILTER(
ALLSELECTED(pie_chart_data),
pie_chart_data[TYPE] = "A"
)
)
amount_overall =
CALCULATE(
SUM(pie_chart_data[AMOUNT]),
ALLSELECTED(pie_chart_data)
)
amount_A_percentage = [amount_A]/[amount_overall]
For more information on Power Bi, check the following Power Bi Tutorial
Also, do check out our YouTube video on Power BI visualization techniques:
Thinking of learning Power BI? Here is the opportunity provided by Intellipaat to earn a certification in Power BI Course!