Forum Discussion
Combined slicer
- 9 years ago
Hi Andrej,
A slicer works on its parent table or works through the relationship. So we need to find out a way to establish relationships. Here we go:
1. Create two new tables.
DateTable = DISTINCT ( UNION ( VALUES ( Table1[Date] ), VALUES ( 'Table2'[Date] ) ) )
NameTable = DISTINCT ( UNION ( VALUES ( Table1[Name] ), VALUES ( Table2[Name] ) ) )
2. Establish relationships.
3. Create slicers with the column from new tables.
Best Regards!
Dale
- 9 years ago
Hi Andrej,
I am so glad to help. You can try to add a filter function like this. Add a "[" after "isblank(", then there will be a hint of column that can be selected.
Date Table = FILTER ( DISTINCT ( UNION ( VALUES ( Terminations[Date of Renewals] ), VALUES ( Renewals[Date] ) ) ), ISBLANK ( [Date of Renewals] ) = FALSE () )Best Regards!
Dale
Hi Andrej,
I am so glad to help. You can try to add a filter function like this. Add a "[" after "isblank(", then there will be a hint of column that can be selected.
Date Table =
FILTER (
DISTINCT (
UNION ( VALUES ( Terminations[Date of Renewals] ), VALUES ( Renewals[Date] ) )
),
ISBLANK ( [Date of Renewals] ) = FALSE ()
)Best Regards!
Dale
Hello Dale,
Thank you very much.
I had to change cross filter directions in name table as it was fighting somehow with date table but I have now what I needed.
Have a great day.
Kind reagards.
Andrej