Forum Discussion
Icon measure does not filter on date properly
Hi Nspiler ,
Please try the code below.
Icon =
CALCULATE(
IF(
SUM('ALL DATA'[Sum of met]) >= SUM('GOALS'[Sum of goal]),
"DownArrowRed",
"UpArrowGreen"
),
FILTER(
'ALL DATA',
'ALL DATA'[Date] IN VALUES('Calendar'[Date])
)
)
If this reply still not help you get the expected result, please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community.
How to upload PBI in Community
Thanks for your understanding. Your time and cooperation are much valued by us. We are looking forward to hearing from you to assist further.
Best regards,
Lucy Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.