Forum Discussion
filter table for amount over $100
Good morning, everyone,
In the first table, there are 3 insurance policies. And each policy comes with different Coverage and Payments.
Policy Coverage Payment
A BI 100
A PD 50
B BI 10
B PD 20
C BI 50
C PD 60
C PIP 70
I am trying to generate a visualized Table under Report environment for the policies with payment over $100 and still keeps the Coverage information?
For this example, since the total payment for Policy A and C is over $100, so the new Table with total payment over $100 will look as below:
Policy Coverage Payment
A BI 100
A PD 50
C BI 50
C PD 60
C PIP 70
Thank you very much.
Dennis
3 Replies
- v-chuncz-msft
Community Support
Drag measure below to Visual level filters and set Show items when the value is 1.
Measure = IF ( CALCULATE ( SUM ( Table1[Payment] ), ALLSELECTED ( Table1[Coverage] ) ) > 100, 1 )- 12Bowers12
Helper V
Thank you, Sam
I have tested your measure on the dataset.
Your measure only shows 1 if the amount by individual Coverage level >100.
My problem is, for example, for Policy A, even the amount for Coverag BI and PD is <=100, but the total is 150 for Policy A. Therefore, both of Coverage BI and PD for Policy A should be marked as 1.
Dennis
- 12Bowers12
Helper V
Any ideas? Thank you.