Forum Discussion

rushikesh_27's avatar
rushikesh_27
Frequent Visitor
4 years ago

Userelationship function giving blank values.

Hello all,
I'm trying to use the userelationship function for a model.
I have 3 tables. Calendar, Shipment, Sites

where Calendar(date)is connected to 2 dates of Shipment( early_ship date-active, loddte only-inactive) 

Sites(wh_id) is connected to Shipment(wh_id - active)

 

I'm trying to calculate the sum of Cases loaded(loose,layer,full pallet) based on loddte only.

DAX  used- calculate(sum(Shipment(Loose Sc Loaded)),userelationship(Calendar(Date),Shipment(Loddte only))

I'm still getting blank values.
I have the same date type.
I'm using Calendar Date as filter. Site(Wh_id) as another filter to select sites.

Can I know what is it that I'm missing.

 

 

1 Reply