Forum Discussion
Double date slicer (date table)
- 6 years ago
Hi MIKAOKSA
I don't know what should be the correct value for your visual.
When looking into your data model, i find the [END_ACTUAL] is of datetime format, it is wrong to use this datetime column to relate the "date" table.
You need to create a "date" column from [END_ACTUAL] in date format.
You can also change the relationship among "REP_EMPOPERATWR_MV" and other tables to both, then check if it would show correct result.
Best Regards
Maggie
Hi MIKAOKSA
I don't know what should be the correct value for your visual.
When looking into your data model, i find the [END_ACTUAL] is of datetime format, it is wrong to use this datetime column to relate the "date" table.
You need to create a "date" column from [END_ACTUAL] in date format.
You can also change the relationship among "REP_EMPOPERATWR_MV" and other tables to both, then check if it would show correct result.
Best Regards
Maggie
It took a long time but yeah, you are correct. Date-values from our ERP always come in a date/time format, so to filter them correctly I first need to make a new column with FORMAT and remove the time. After this filtering with these new values everything works just fine.
BR,
Mika