Forum Discussion
Date Dimension Filter
- Anonymous6 years ago
Hi Anonymous ,
How about create a calculated table and create a measure as a visual level filter?
Table 2 = UNION ( SELECTCOLUMNS ( 'Table', "date", 'Table'[date].[Month] & 'Table'[date].[Year], "value", 'Table'[value], "period", "Month" ), SELECTCOLUMNS ( 'Table', "date", 'Table'[date].[Year] & 'Table'[date].[Quarter], "value", 'Table'[value], "period", "Quarter" ), SELECTCOLUMNS ( 'Table', "date", 'Table'[date].[Year], "value", 'Table'[value], "period", "Year" ) ) Measure = IF(SELECTEDVALUE('Table 2'[period])=SELECTEDVALUE(period[period]),1,BLANK())Result would be shown as below.
Pbix as attached.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
I usually use a calculated table from the dates existing in the fact table like:
TABLE = calendar(MIN('Fact'{Date],MAX('Fact'[Date])
Let me know if it worked, if so mark as solution.
Best Regards,
Duarte Raminhos
- Anonymous6 years agoNot applicable
Hi Anonymous ,
https://powerpivotpro.com/2018/01/dynamic-attributes-power-bi-report/
Actually in this blog to create Dynamic attributes in a slicer we are going for disconnect table and by performing Unpivot function the records are getting duplicate by 4 times (if we require 4 values in a slicer). Can we avoid this duplicancy of records and is there any alternate way of achieving Dynamic Attributesin Power BI.
Regards,
Prakash