Forum Discussion
Top N filter is sorting whole number wrong
- 6 years ago
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.
- Doby426 years agoFrequent Visitor
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.