This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
can we edit date filter manually in power bi or is there any visual so we can add year month and date manually. in slicer date filter i am not able to edit on after add report on to the server
Solved! Go to Solution.
Hi @rock_stage_user ,
You can try formula like below:
Filtered Value =
SWITCH (
SELECTEDVALUE ( 'Table'[Custom_Filter] ),
"Last Year",
CALCULATE (
SUM ( 'Table (2)'[Value] ),
FILTER (
'Table (2)',
MAX ( 'Table (2)'[Date].[Year] )
= ( YEAR ( TODAY () ) - 1 )
)
),
"This Year",
CALCULATE (
SUM ( 'Table (2)'[Value] ),
FILTER ( 'Table (2)', MAX ( 'Table (2)'[Date].[Year] ) = ( YEAR ( TODAY () ) ) )
),
"Next Year",
CALCULATE (
SUM ( 'Table (2)'[Value] ),
FILTER (
'Table (2)',
MAX ( 'Table (2)'[Date].[Year] )
= ( YEAR ( TODAY () ) + 1 )
)
)
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @rock_stage_user ,
You can try formula like below:
Filtered Value =
SWITCH (
SELECTEDVALUE ( 'Table'[Custom_Filter] ),
"Last Year",
CALCULATE (
SUM ( 'Table (2)'[Value] ),
FILTER (
'Table (2)',
MAX ( 'Table (2)'[Date].[Year] )
= ( YEAR ( TODAY () ) - 1 )
)
),
"This Year",
CALCULATE (
SUM ( 'Table (2)'[Value] ),
FILTER ( 'Table (2)', MAX ( 'Table (2)'[Date].[Year] ) = ( YEAR ( TODAY () ) ) )
),
"Next Year",
CALCULATE (
SUM ( 'Table (2)'[Value] ),
FILTER (
'Table (2)',
MAX ( 'Table (2)'[Date].[Year] )
= ( YEAR ( TODAY () ) + 1 )
)
)
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Set up a date table, marked as a date table, and you can then use the Year, Month, Day etc columns from the date table in separate slicers.
in that case user will need to click multiple times need to edit in this filter only
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 39 | |
| 33 | |
| 24 | |
| 23 |