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.
Hello Power BI community,
Here is what my current data looks like in Power BI.
ID Solution
1 Solved
1 Solved
2 Not Solved
2 Not Solved
3 Solved
4 Solved
I am trying to create a measure which counts the amount of solved transactions for a unique ID value.
Currently, I am using the following measure:
Number of Resolutions = CALCULATE(Countrows('FACT-CallTable'), 'FACT-CallTable'[Solved]="Solved", ???))
Is there a particular filter argument I can use within this formula to ensure the count of solution is not double counted?
Regards,
Solved! Go to Solution.
Number of Resolutions = COUNTAX(VALUES('FACT-CallTable'[Column]), CALCULATE(COUNT(:Table"[Column]), 'Table'[Column] = "true"))
Solved with the following formula thanks to a reference in another post. If anyone has any other methods please let me know. 🙂
@toddpbi,
Create a measure using DAX as below.
Number of Resolutions = CALCULATE(DISTINCTCOUNT('FACT-CallTable'[ID]), FILTER('FACT-CallTable','FACT-CallTable'[Solution]="Solved"))
Regards,
Lydia
@toddpbi,
Create a measure using DAX as below.
Number of Resolutions = CALCULATE(DISTINCTCOUNT('FACT-CallTable'[ID]), FILTER('FACT-CallTable','FACT-CallTable'[Solution]="Solved"))
Regards,
Lydia
Thanks Lydia,
Worked a charm. My formula above also works too. Sorry for the simple question.
Number of Resolutions = COUNTAX(VALUES('FACT-CallTable'[Column]), CALCULATE(COUNT(:Table"[Column]), 'Table'[Column] = "true"))
Solved with the following formula thanks to a reference in another post. If anyone has any other methods please let me know. 🙂
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 |
---|---|
112 | |
97 | |
78 | |
68 | |
55 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |