Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have created DimDate with calculated colums. I have report with Stacked Column chart, Year slicer and WeekNum slicer.
I have now difficulties to use DimDate as slicer. I have data from only 2019 in fact table which have been connected to DimDate. DimDate covers 2019-2013 dates.
However my slicers for Year and WeekNum shows every single rows that exists in DimDate. How to configure slicer and relationship so that Slicer get only values that includes data in Fact.
Hi ,
Create your date dimesion with below DAX.
Best Regards,
Mail2inba4
If this post helps, then please consider Accept it as the solution to help the other members find easily
Seems to work. Thanks. How to add Week Number to the script? (1-52)
WeekNum Slicer did not work correctly. It showed all possible values without filter to Fact.
I did added Calculated Column with DAX: WeekNum =weeknum(Table[Datecolumn]) to same table, which have been created with Advanced Editor.
I wonder if it is possible to add week number inside script in Advanced Editor.
I tried "many to one" with "both" and "one to many" with "both". No positive effect to slicers.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |