Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Counting the Last 30 Days

Hi All,

 

I have created a DAX measure to calculate On Hire Scaffolds. The measure is shown below;

 

Scaffolds On Hire = COUNT('Standing Scaffold Data'[ErCompleteDate]) - COUNT('Standing Scaffold Data'[Off Hire Date])
 
This measure is taking the count of rows in the erect complete date column and minusing the row count of the off-hire date which is giving the number of scaffolds erected.
 
 
I want to create a few new measures which can show me the following
 
- Amount of On Hire Scaffolds that are less than 90 days old.
- Amount of On Hire Scaffolds that are greater than 90 days but less than 180 days old.
 
Can anyone help with this?
 
Many thanks,
 
E
 

1 Reply