Forum Discussion
table relations
- Anonymous6 years ago
Please try the following:
1. Create a another calendar table with Calendar(), enter the earliest date from the 2 table as start date, and use latest date from the 2 tables as end date.Calendar table = Calendar(Date(),Date())2. Relation both tables to the calendar table using [Date] column, you should have a many to one relationship, where both tables on the many side, and the calendar table on the one side.
3. Then, use the Date column in the new calendar table as slicer to filter visuals.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Minakshi ,
From which table are you using the DATE slicer?
Based on your relationhip set-up, all the slicers sould come from Planogram Compliance table as the filter direction is set from this table to other table.
Thanks,
Pragati
- Minakshi6 years agoResolver I
Pragati11 yes, you are absolutely right. All the slicers are from planogram compliance table. But date and month are not filtering the data while others are doing perfect job.
- Pragati116 years agoSuper User
Hi Minakshi ,
This is should ideally work.
Can you share some screenshots on that it's not filtering with DAte filter?
Also screenshot of your sample data?
what is data-type of DATE column in both of your tables?
Thanks,
Pragati
- Minakshi6 years agoResolver I
Pragati11 Date is of date type. Even month slicer is also not working. I tried to make a realtionship based on date then date and month slicers worked but others didn't.
attaching images for your reference. First with date filter selected and second without any filter. top 2 stacked bars showing same numbers.