Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have following kind of value
I need to calculate % share of each sales person against Zone Total. Following is the format of the required representation
Not be able to figure out how to write the dax for the % share.
Solved! Go to Solution.
hi @angshu
try to plot a matrix visual with
1) source column
2) a calculated column like:
YYMM = FORMAT(DATE([Year], [Month], 1), "mmm-yy")
3) two measures like:
Total Sales = SUM(data[TotalSales])
% of Share of Zone =
DIVIDE(
SUM(data[TotalSales]),
CALCULATE(
SUM(data[TotalSales]),
ALL(data[Source])
)
)*2
it worked like:
Thank you for your reply. Since there will be some filters in this page I may have to change the dax for % share and to include the source column in the ALL filter. Let me try
hi @angshu
try to plot a matrix visual with
1) source column
2) a calculated column like:
YYMM = FORMAT(DATE([Year], [Month], 1), "mmm-yy")
3) two measures like:
Total Sales = SUM(data[TotalSales])
% of Share of Zone =
DIVIDE(
SUM(data[TotalSales]),
CALCULATE(
SUM(data[TotalSales]),
ALL(data[Source])
)
)*2
it worked like:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
15 | |
13 | |
11 | |
9 | |
8 |