Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have been tryng to create a measure that calculates the average of the 'best' 40 results from site A by period. Lower scores are better and zero represents no score and needs to be ignored. Sample data below. There are hundreds of scores per period at site A. Can anyone help? Please 🙂
| Site | Period | Score |
| A | 100 | 1.7 |
| A | 100 | 1.65 |
| A | 100 | 1.55 |
| A | 100 | 1.6 |
| B | 100 | 0 |
| A | 100 | 1.59 |
| A | 101 | 1.45 |
| A | 101 | 1.55 |
| A | 101 | 1.75 |
| A | 101 | 1.55 |
| A | 101 | 1.9 |
| B | 101 | 0 |
| B | 101 | 1.75 |
Solved! Go to Solution.
Hey Jimmy17.
You could first create a calculated column which counts the values which are lower than the value in the current row.
Something like this should work:
Hey Jimmy17.
You could first create a calculated column which counts the values which are lower than the value in the current row.
Something like this should work:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 9 | |
| 5 | |
| 5 |