The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |