Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I want to create a table visual, and for this table, I would like to filter the values using a DAX formula on the Date column, to show dynamically values that are related to future dates (from after today`s date)
Does anyone know which DAX formula could help to achieve this?
Thanks in advance!
Solved! Go to Solution.
Hi @maneschr2022 ,
I think you can filter your visual by "Relative date" filter type in [Date] column.
For example, I have a sample with data from 6/1/2022 to 7/30/2022. Now I want to show data in N days/weeks... and so on after today. We can use Relative date filter type to filter data in future.
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 @maneschr2022 ,
I think you can filter your visual by "Relative date" filter type in [Date] column.
For example, I have a sample with data from 6/1/2022 to 7/30/2022. Now I want to show data in N days/weeks... and so on after today. We can use Relative date filter type to filter data in future.
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 @tamerj1 , thanks for your reply!, it works fine, the only thing I need to change is the expression of COUNTROWS, as I want to display the dates instead of counting them. Which would work for this case?
Thank you!
would you please share a screenshot of the results you are getting?
Hi @maneschr2022
You can try
Filter Measure =
COUNTROWS ( FILTER ( TableName, TableName[Date] >= TODAY ( ) ) )
Place it in the filter pane of the visual, chose "is not blank"and select "Apply filter"
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
22 | |
10 | |
10 | |
9 | |
7 |