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 moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi
for example. 1/31/2024 is changing,
How can we ensure that the date in time slicer in Power BI is the latest date in database ? I don't wan to change it every month.
Thanks
Solved! Go to Solution.
@jsjcjsjc , In that case, you can use below measure that you can use as a filter.
Measure =
VAR _date =
CALCULATE ( MAX ( Sheet1[date range] ), ALL ( Sheet1[date range] ) )
RETURN
IF ( MAX ( Sheet1[date range] ) <= EOMONTH ( _date, -1 ), 1, 0 )
Output ;-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @jsjcjsjc , I am afraid if I am missing something. However, if you have not added any explicit filter on the slicer it will take all the available data from the dataset that includes the latest dates.
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
yes, you are right. I missed some infomarion.
I hope to keep the date is The last day of the previous month of the new date in the database.
@jsjcjsjc , In that case, you can use below measure that you can use as a filter.
Measure =
VAR _date =
CALCULATE ( MAX ( Sheet1[date range] ), ALL ( Sheet1[date range] ) )
RETURN
IF ( MAX ( Sheet1[date range] ) <= EOMONTH ( _date, -1 ), 1, 0 )
Output ;-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Check out the May 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 |
|---|---|
| 25 | |
| 24 | |
| 22 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 51 | |
| 48 | |
| 44 | |
| 21 | |
| 21 |