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.
Hi how to remove current month from MTD filter list?
example: current month Feb 2021, in MTD filter list keep the last month is Jan 2021,
Solved! Go to Solution.
@Delion , Create a column like this and use that as a visual level filter
Month Type = Switch( True(),
eomonth([Date],0) <= eomonth(Today(),-1), 1,0
)
filter for 1
Hi @Delion
You can try my way to build a measure filter as well.
My Sample:
MTD and YearMonth are calculated columns. I build YearMonth column to sort MTD column.
Measure:
MTD Filter =
VAR _YearMonth =
YEAR ( TODAY () ) * 100
+ MONTH ( TODAY () )
RETURN
IF ( MAX ( 'Table'[YearMonth] ) < _YearMonth, 1, 0 )
Add this measure into Slicer's visual filter:
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Delion
You can try my way to build a measure filter as well.
My Sample:
MTD and YearMonth are calculated columns. I build YearMonth column to sort MTD column.
Measure:
MTD Filter =
VAR _YearMonth =
YEAR ( TODAY () ) * 100
+ MONTH ( TODAY () )
RETURN
IF ( MAX ( 'Table'[YearMonth] ) < _YearMonth, 1, 0 )
Add this measure into Slicer's visual filter:
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Delion , Create a column like this and use that as a visual level filter
Month Type = Switch( True(),
eomonth([Date],0) <= eomonth(Today(),-1), 1,0
)
filter for 1
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |