Forum Discussion
Unified Date Filter
- 1 year ago
If a single table contains multiple date columns with potentially different values in the same row, it’s best to use a dedicated dates dimension table. You can then create multiple relationships from each date column to the dates table—one active (since only one active relationship is allowed at a time) and the rest as inactive. Use USERELATIONSHIP in a measure to invoke it. Similarly, if you have multiple tables and want them to be filtered by a common date field, you should use the same approach with the shared date dimension.
Those with broken lines in the image below are inactaive relationships
Please see the attached pbix for details.
Hi,
The data is not well structures to allow for filtering. In the Query Editor, select all columns other than the date columns, right click and select "Unpivot Other Columns". Create a Calendar Table and build a relationship from the Value column of your Fact Table to the Date column of the Calendar Table.
Hope this helps.