Forum Discussion
FILTERING PROBLEM
- 1 year ago
Hi Preboat ,
Thanks for sharing the PBIX.I checked the setup and noticed that the ShowRow logic you had earlier was being used separately, which meant the visual still showed unwanted rows unless filtered explicitly.
I’ve modified the calculation items to embed the ShowRow flag logic directly inside them, so that they return BLANK() when the rate is less than or equal to 0.5.
TDA = IF( [ShowRow_Flag] = 1, SELECTEDMEASURE(), BLANK() )TBA = IF( [ShowRow_Flag] = 1, IF(ISINSCOPE(Append1[Category]), BLANK(), SUM(Append1[SUMbill])), BLANK() )Rate = IF( [ShowRow_Flag] = 1, IF(NOT ISINSCOPE(Append1[Category]), DIVIDE(SELECTEDMEASURE(), SUM(Append1[SUMbill]))), BLANK() )This way, the matrix automatically hides those rows without needing an additional measure or filter pane configuration.
Result:
Attached the pbix file for reference.
Hope this helps. Please reach out for further assistance.
Thank you.
Preboat What results are you expecting?
- Preboat1 year agoFrequent Visitor
Hi Greg_Deckler i was expecting the whole row to be taken off. In my example table i am expecting the whole row in red to be taken off and not just the total. Currently the total are filtering correctly to >0.5 condition and returnig blank where the >0.5 condition is met. But the figures that makes up the total remain (the row)
NAME 57 6 20 11 30 40 Total wdw dnwu 490 34 524 ewrr 30 546 3 4 jkmdm 25 30 55 mmomm 4 2 40 Total 549 546 39 0 4 70 579