Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Dear Jihwan,
that works perfectly, thank you so much! I need to ponder on why it works though.
Thanks!
Joh
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
45 | |
26 | |
21 | |
12 | |
8 |
User | Count |
---|---|
74 | |
52 | |
45 | |
15 | |
12 |