Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear all,
it seems this kind of question comes up often, but I can not seem to find a solution.
Here is my situation.
I have a list of prcesses that happen at a specific date. Each process has a number of events (some just a few, some hundreds) which may or may not fail.
Table1
| Process | event_id | failed? |
| A | 1 | 0 |
| A | 2 | 0 |
| A | 3 | 1 |
| B | 4 | 1 |
| B | 5 | 1 |
| C | 6 | 0 |
| C | 7 | 0 |
| D | 8 | 0 |
| D | 9 | 1 |
| D | 10 | 1 |
| D | 11 | 0 |
I also have a date table that tells me in which year the processes have run
| A | 2020 |
| B | 2020 |
| C | 2019 |
| D | 2019 |
I have created a measure that claculates for each process the percentage of failed events
| Process | %failed | Year |
| A | 33% | 2020 |
| B | 100% | 2020 |
C | 0% | 2019 |
D | 50% | 2019 |
However: what I would like to achieve is a measure that now gives me the average %failed over all processes each year
Solved! Go to Solution.
Hi, @Johannes_W
Please check the below picture and the sample pbix file's link down below.
When you put the Process column into the visualization, the correct result is still shown.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, @Johannes_W
Please check the below picture and the sample pbix file's link down below.
When you put the Process column into the visualization, the correct result is still shown.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Dear Jihwan,
that works perfectly, thank you so much! I need to ponder on why it works though.
Thanks!
Joh
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |