Forum Discussion
Visual filter does not work
- Anonymous5 years ago
Hi Anonymous
I have test on your sample. I think your problem should be caused by ComplianceMonth column in your visual. ComplianceMonth column in your visual should be from Compliance table. However your filter Flag comes from related table Calendar.
So if you use ComplianceMonth column from Compliance table, the measure will show an incorrect result.
Try to use the column in Calendar table instead of the column in Compliance .
My test:
You see above table visual in red box will show incorrect results like yours.
Visuals as below which use MonthDate in Calendar table will show correct result.
You can download the pbix file from this link: File
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Ashish for all your help and time.
I am trying to see if we can avoid using the slicer objects.
I created 2 variable as,
- Anonymous5 years agoNot applicable
Hi Anonymous
I have test on your sample. I think your problem should be caused by ComplianceMonth column in your visual. ComplianceMonth column in your visual should be from Compliance table. However your filter Flag comes from related table Calendar.
So if you use ComplianceMonth column from Compliance table, the measure will show an incorrect result.
Try to use the column in Calendar table instead of the column in Compliance .
My test:
You see above table visual in red box will show incorrect results like yours.
Visuals as below which use MonthDate in Calendar table will show correct result.
You can download the pbix file from this link: File
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.