Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Everyone.
I am creating a dashboard for items having expiration dates and want to show how many items are going to expire in 30 days, 60 days, 90 days from Today(). I did that with a relative date filter. The issue is how to include the item which is expired in the past i.e less the today().
I want to show the filter results in table
Solved! Go to Solution.
Hi @shoaibsam12 ,
Please create a what if parameter as the slicer,
then create the following measure and apply it to the visual level filter
Measure = IF(MAX(Sheet2[expiration dates])<=TODAY()+Parameter[Parameter Value],1,0)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @shoaibsam12 ,
Please create a what if parameter as the slicer,
then create the following measure and apply it to the visual level filter
Measure = IF(MAX(Sheet2[expiration dates])<=TODAY()+Parameter[Parameter Value],1,0)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@shoaibsam12 , One of the way, is a measure like
calculate(countrows(Table), filter(all('Date'), 'Date'[Date] <= Today() && 'Date'[Date] >= Today() -30 ) )
Assume due date is joined with date of date table
To count the number of the true value, I have already accomplished it as you have described but another way because my column has blank as well. I created three separate columns and used this formula for each column just changed the no of days.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 46 | |
| 42 |