Forum Discussion
Bottom N without blanks and zeros - error
- 7 years ago
Hi MFelix,
The two conditions in Visual Level Filter operates with "AND" logic. For the first condition, bottom 5 of sum(sales) it returns rows which has sum(sales) equals to 0. While the second condition is return sum(sales) when they are greater than 0. It's obviously that there is no common rows, so it return nothing in the table visual.
To resolve the issue, you need to create a measure like below, then set bottom 5 based on this measure:
Measure = CALCULATE(SUM(Sheet1[Sales]),FILTER('Sheet1','Sheet1'[Sales]>0 &&Sheet1[Sales]<>BLANK()))Best Regards,
Qiuyun Yu
Hi MFelix,
The two conditions in Visual Level Filter operates with "AND" logic. For the first condition, bottom 5 of sum(sales) it returns rows which has sum(sales) equals to 0. While the second condition is return sum(sales) when they are greater than 0. It's obviously that there is no common rows, so it return nothing in the table visual.
To resolve the issue, you need to create a measure like below, then set bottom 5 based on this measure:
Best Regards,
Qiuyun Yu