Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217083

DAX count of weeks between dates based on Dimension

$
0
0

Hi ,

I'm a DAx beginner ,have been struggling to get these 2 calculated measure.

 

1)for Desired Result1:

Display count the number of weeks between the order date and delivery date for each item,at each date

Ex;

item AB was ordered on 4-April-16 and Delivery date id on 18-Apr-16.

item BC was ordered on 4-April-16 and Delivery date id on 25-Apr-16.

item BC was ordered again on  4-April-16 and Delivery date id on 27-Jun-16.

 

1)for Desired Result2:

Count the total number of weeks between the order date and delivery date of each item.WeeksCount.JPG

 

 

 


Viewing all articles
Browse latest Browse all 217083

Trending Articles