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.
Hi all,
I need to calculate average of resolution time which should exclude 1% extreme values means top and bottom 1% values.
Average of resolution time= (Resolved On Date - Created on Date) divided by total number of ticket count
So if I have 1000 resolved ticket , we should exclude the 10 tickets that have the shortest resolution time and the 10 tickets that have the longest resolution time.
I have tried using RANKX function to calculate top and bottom rank on resolution time(difference between resolved and created) but not able to get it right and also, how do I combine both top and bottom in final query.
TopRANK = RANKX (table,table[ResolutionTimeInHr])
Solved! Go to Solution.
@SarikaKumari18 TRIMMEAN - Microsoft Power BI Community
@Greg_Deckler I don't want to disturb original fact table as we have other business logic to be applied on whole data. Is it possible to achieve this without introducing another fact table ?
@SarikaKumari18 It's a measure. Shouldn't introduce another fact table, just need to use it against your current table. If you post sample data, I can be more specific.
@Greg_Deckler My bad just realized its measure in your pbix file , actually I have been trying with tables/columns/measure and it is still throwing an error .
Here is the sample excel file with data Sample file
Its throwing an error at Value at the end . It would be great if you can help on this
Thanks much !
@Greg_Deckler Its working amazingly . Thanks a lot for all your effort and great work 🙂
@SarikaKumari18 TRIMMEAN - Microsoft Power BI Community
Thanks very much Greg @Greg_Deckler !
I am going through the detailed solution and it will take a while for me to understand how the solution is working and apply the same logic in my data model.
I see here we are using calculated table and not sure if we can get rid of this and do it using just column/measures or we have any simpler solution to this .
Thanks again for your help !
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 |
---|---|
41 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
36 | |
33 | |
18 | |
18 |