Forum Discussion
aishak12
Helper IV
3 years agoFilter date by last 30 days
All, I have this date format and I would like to only see the past 30 days for Labor billed in my report. Does anyone know how I can create a measure for past 30 days?
aishak12
Helper IV
3 years agoI would like the SUM of Labor Billed for the past 30 days
Ashish_Mathur
Super User
3 years agoHi,
In the Query Editor, seperate the Time from the End Date column. Create a Calendar Table and a relationship (Many to One and SIngle) from the End Date column to the Calendar Table. Wrie these measure
LB = sum(Data[Labor billed])
LB in last 30 days = calculate([LB],datesbetween(calendar[Date],today()-29,today()))
Drag the LB in last 30 days measure to a card visual.
Hope this helps.
- aishak123 years ago
Helper IV
can you show an example of this?
- Ashish_Mathur3 years ago
Super User
Hi,
Please follow the instructions i have mentioned in my previous message.