Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have searched for a solution but can't seem to get them to work in my specific situation.
I have two columns that I'm using: a count for the number of claims in one column and a second column is a count of the number claims that have had someone appointed to them, I then have this shown by year. I want to have a column showing the percentage of claims that have had someone appointed to them. Example table below is what i'm looking for including the % Appointed column I want to calculate. I have added an example of the data table below
Year | Count of ClaimRef | Count of appointed | % Appointed |
2017 | 100 | 10 | 10% |
2018 | 10 | 10 | 100% |
2019 | 100 | 10 | 10% |
2022 | 40 | 20 | 50% |
Total | 250 | 50 | 20% |
Any help would be much appreciated
EDIT:
The table I've shown above was my desired output. My data table would look like the following:
ClaimRef | Year | Appointed |
1234 | 2020 | Name1 |
1235 | 2021 | Name2 |
1236 | 2020 | |
1237 | 2021 | |
1238 | 2022 | Name3 |
In my output table (being shown in the report) I'm using a count of ClaimRef and a count of appointed (i.e. the claims where someone is appointed).
Solved! Go to Solution.
You can add a new column with the code below:
Sorry if it wasn't clear, the table I've shown was my desired output. My data table would look like the following:
ClaimRef | Year | Appointed |
1234 | 2020 | Name1 |
1235 | 2021 | Name2 |
1236 | 2020 | |
1237 | 2021 | |
1238 | 2022 | Name3 |
In my output table (being shown in the report) I'm using a count of ClaimRef and a count of appointed (i.e. the claims where someone is appointed).
You can add a new column with the code below:
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |