Forum Discussion
Query on Power BI report regarding relationships
Hi there,
I have a dataset based on Hours for FY25, the Cost for FY25 and bulk dispatch for the year FY25 also.
I’m looking to create a working relationship between the three tables in order to get the labour cost per hours for litres dispatched.
I have an attempt attached where I created a new calendar table and created a Pay Week Ended calculated column within the calendar table also. The pay week ends on a Tuesday in my data, so Tuesday the second of July for example.
I created the relationships but for some reason Power BI isn’t recognising some of the operation amounts from the Bulk Dispatch table.
Can somebody help me in my query. I want to fix the relationship and essentially get the labour cost per hour per bulk dispatch (from the three tables).
I created the calendar table as it was all transactional data so couldn’t create proper relationships.
Please see attached the files:
PBIX File - https://drive.google.com/file/d/1FZVtikO_zcAeMQNyB0AN4_MM8w6CKy0s/view?usp=sharing
Any help would be greatly appreciated.
Select SUM as the summarization function
7 Replies
- Ashish_Mathur
Super User
Hi,
I cannot understand what you want but i have made some changes in the relationships in the attached PBI file.
- gbarr12345
Post Prodigy
Hi Ashish,
Thank you for your reply.
Just one query, in the PBIX you uploaded, the date 9/07/2024 has a few operation amounts but in the actual dataset there's only one which is 1200. This is the case with a few of the other dates.
Is there a reason for this?
- Ashish_Mathur
Super User
Select SUM as the summarization function
- gbarr12345
Post Prodigy
Apologies, the format of that one date was different so it was showing like it was August. Thanks Ashish.
- Ashish_Mathur
Super User
You are welcome.