Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello, does anyone know how I can calculate the above?
I have a measure that evaluates an expression (checks if job date was completed before due date) and outputs "Pass" or "Fail"
I also have Priority Groups each with different target rates, and these are basicaly the KPI's (i.e. 'P1 & P2' with 100% target, 'P3 & P4' with 95% target 'S' with 98% pass target, etc)
I want to know, by Month, and for each Priority Group, the count of "Pass" and "Fail"
The main issue is getting the count of Pass/Fail based on the Priority Group and not for every single job.
Here is my measure that counts the Pass/Fail for each Priority Group:
I basically just want to count the highlighted below:
Solved! Go to Solution.
Just tried something and looks like it's working! (in case anyone else is struggling with something similar)
Just tried something and looks like it's working! (in case anyone else is struggling with something similar)
Hi @Anonymous
please try
Pass Count =
SUMX ( VALUES ( 'Table'[Job ID] ), IF ( [Measure] = "Pass", 1 ) )
Hi @tamerj1
This is returning a blank...
Also I am not wanting to count the number of jobs, this is too low of a granuliarity. The jobs are roled up into KPI groups (e.g P1 & P2, P3 & P4, etc)
I have the job data in a table, the calendar data in another table, and a dimention table for my priority codes
@Anonymous
Then try by iterating over the KPI Goup column. You need to iterate over the granularity level column that produces results for [MeasureResp]
Still blank 😕
This is my Measure that produces the result
Hi @Anonymous ,
Can you share the pbix file or some data and its outcome? 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
UPDATE: Managed to get this
But I need it to show blanks as well as true and false, any idea how I could do that?
I'm also stuck here, the numbers aren't adding up to the actual pass results from my original table...
---
Hi @tackytechtom my file is very large and connected to a sql database.
I can provide the calc that I used for my "Pass" / "Fail" measure:
I have tried using SUMMARIZE but can't figure out to swap out the number values with the values from my measure above
Hi @Anonymous ,
Would this one here help you?
Let me know! 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hopefully this may help.
Would like to get the result to give the percentage of the "pass" per month for each column category:
So for instance P1 & P2column,
Fail = 5, Pass = 1,
then divide Pass / Total to get the average pass for P2 & P2 for this year
Hi @tackytechtom thank you for responding!
I'm not sure which one to apply to my situation.
e.g If I have 100 jobs in a month, each of these jobs has a priority code, and the priority code has a KPI (e.g. 95% pass rate for P3, 100% pass rate for P2, etc)
I have calculated the above using a Measure (not a calculated column)
I have tried to use SUMMARIZE but it doesn't allow me to return a text value from my measure...
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 11 | |
| 9 | |
| 8 |