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.
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.
Looks ok. Maybe you don't have data for that period.
Please provide sanitized sample data that fully covers your issue. I cannot help you without meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. I cannot use screenshots of your source data.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523