Forum Discussion
Issue using date slicer from dynamic table
- 6 years ago
If you click on the date slicer, you can add a field from the sales table or a measure to the "filters on this visual" part of the filters pane. Then filter it to all "is not blank". You can also hide that from the end users when it's published.
Wow that worked DataZoe. Thanks!
That now brings me to another issue 🙂
For sake of having a nice Dashboard, I wanted to present different data into the same dashboard so I added another table from another datasource with a date field - which I connected to the Dax dateTable. I want to use the same slicer to filter for the year selected for both the original Sales Table visual and the new Table visuals - but as soon as I connected the date field from New Table to the Dax DateTable, now the slicer is showing me all the years ie from 2000 to 2030 again!
sanman that is interesting! It would depend on which field you did use to filter the date slicer, what was the date range of the new data, and what type of relationships are between all the tables.
I should mention another method to do it is to create a both directions relationship between Sales and Date tables. Sometimes this excludes more data than expected and is not an ideal solution.
- sanman6 years agoHelper I
There are no relations between the two tables. I just wanted to show two separate metrics on the dashboard using the same year slicer.
The both direction relationship worked. Thank you!