I'm trying to recreate an Excel dashboard in Power BI. Part of what I need to do is create a table or matrix (not sure which is best) that shows premium by segment, which I've done. Now I want to create another column that calculates the % of total premium for each segment. The end result should look something like this.
Segment | Inforce Premium | Premium Distribution |
A | $7,000,000 | 54% |
B | $4,000,000 | 31% |
C | $2,000,000 | 15% |
Total | $13,000,000 | 100% |
In Excel, I can do this by referencing the cell with the premium for each segment and dividing by the total premium, like this:
Column | B | C | D |
Row | Segment | Inforce Premium | Premium Distribution |
3 | A | 7000000 | =C3/$C$6 |
4 | B | 4000000 | =C4/$C$6 |
5 | C | 2000000 | =C5/$C$6 |
6 | Total | =SUM(C3:C5) | =C6/$C$6 |
My problem is I can't figure out how to reference the column total for premium. Does anyone know how I could do this % of total in Power BI?