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.
I have the following measures defined in a dataset;
DOAs = CALCULATE(COUNT('Incident'[TicketNumber]),'Incident'[new_installoutcome] = "100000000") FOAs = CALCULATE(COUNT('Incident'[TicketNumber]),'Incident'[new_installoutcome] = "100000001") InstallAttempts = CALCULATE(COUNT('Incident'[TicketNumber]),'Incident'[new_installoutcome] = "100000000",'Incident'[new_installoutcome] = "100000001",'Incident'[new_installoutcome] = "100000002") InstallFailRate = DIVIDE((DOAs + FOAs), InstallAttempts)
What I now need is a measure which is a sum of the DOA and FOA measures divided by a sum of the install attempts. If this worked it would look like this...
InstallFailRate = DIVIDE((SUM(DOAs) + SUM(FOAs)), SUM(InstallAttempts))
How do I achieve this in DAX? Do I have to break use the root calculation of each measure in the new measure?
Solved! Go to Solution.
You may try below measure to get the cumulative total of a measure.For example:
Measure = CALCULATE ( [DOAs], FILTER ( ALL ( Incident ), Incident[date] <= MAX ( Incident[date] ) ) )
Regards,
You may try below measure to get the cumulative total of a measure.For example:
Measure = CALCULATE ( [DOAs], FILTER ( ALL ( Incident ), Incident[date] <= MAX ( Incident[date] ) ) )
Regards,
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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |