Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I'm confused as to why the "Top N" for the whole number field of yearnbr wouldn't pick the same order as sort order? Any suggestions?
I worked around it by creating a rankx column for year, and then use that as the "by value". But I don't think any work around should be nessary.
Solved! Go to Solution.
Thanks for posting. Looking at your pbix file I noticed that it was sum of year. The issue is I'm using a date table that has far more than just year. So my sum of yearnbr is causing the issue. Being a leap year the total for 2016 is higher than 2017.
Once I changed from sum to max value the sort order was correct.
Hi @Doby42 ,
Based on my test, the TOPN Filter works fine on my side, could you please reproduce this issue in my shared sample pbix file?
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for posting. Looking at your pbix file I noticed that it was sum of year. The issue is I'm using a date table that has far more than just year. So my sum of yearnbr is causing the issue. Being a leap year the total for 2016 is higher than 2017.
Once I changed from sum to max value the sort order was correct.
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |