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.
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.
Hi Minakshi ,
I think the issue might me in your calculations against FACTOR measure.
Try sharing it here.
Thanks,
Pragati
- Minakshi6 years agoResolver I
Pragati11 Factor is just for value, instead of 0 I want to write Non Compliant and insted of 1 , I want to write Compliant.
Factor = IF(value = 0, "Non COmpliant", "Compliant")
I think some other issue is there as I faced same issue with last time also and couldn't solve it.
- Anonymous6 years agoNot applicable
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.