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 there,
I want to create a measure that will show only the dates that are before today and future days that are before 90 days from now.
Thanks,
Annemie
@Annemie19 , Try like
//date related to table
measure = calculate(sum(Table[value]),filter(all(Date), Date[Date]<=Today() || Date[Date]>=Today()+90))
or
measure = calculate(sum(Table[value]),filter(Date, Date[Date]<=Today() || Date[Date]>=Today()+90)) //date not filtered
thanks a lot for the help,
Should (sum(table[value])) be the table name or date field name?
I want the date to be displayed.
I am getting the following error
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |