Hans Cornette
03/08/2022, 3:01 PMSELECT SUM(Item Grossamount) WHERE Year (Item Settlementdate) = THIS -1 WITH PF EXCEPT Date (Item Settlementdate)
I would like the chart to show the complete Last Year for each month even if the date (Item Settlement date is manipulated through filters). I thought it could be done through the "WITH PF EXCEPT" clause. But so far by manipulating the Item Settlement date in the filter my chart is still impacted. Is there something else that prevents the date from impacting my chart? 🤔Boris
03/08/2022, 3:25 PMWITH PF EXCEPT Date (Item Settlementdate)
the behaviour should be as intended - the date filter in insight won’t affect the outcome and you will see only values for year=THIS
which is correctly displayed on your screenshot.
However, if you place the insight to a dashboard, the dashboard’s date filter will still somehow affect the chart, depending on the selection. But in the insights configuration on the dashboard, you can choose which filters will apply to the inisght, so you can exclude the date filter.
Is this what you are after?Jakub Sterba
03/08/2022, 4:06 PMSELECT SUM(Item Grossamount) WHERE Year (Item Settlementdate) = THIS -1
and do not specify date filter in insight.
Add the insight to dashboard and in the cofiguration of filters uncheck Date filter. The dashboard filter will be ignored and filter in the metric will be applied.Hans Cornette
03/08/2022, 8:39 PMHans Cornette
03/08/2022, 8:51 PMJakub Sterba
03/08/2022, 11:09 PMJakub Sterba
03/08/2022, 11:11 PMJakub Sterba
03/08/2022, 11:16 PMHans Cornette
03/09/2022, 1:04 AM