- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Data Modelling
Hello all,
My dataaset has two excel tables.
1. Timesheet entry table (NAV TABLE) - Here multiple resources will make entries daily and enter their time registration. So for a month, there will me approx 20+ entries per resource.
2. Available hours (AVL TABLE) - For every resource, per month, there will be only one entry which shows the total available hours for that resource in that month.
I have pulled in both these data to my PowerBI.
In both the table, the resources' "INITIALS" is the common column.
So I have given Many to Many Relationshio (Both direction)
All the data in the top half section is from the NAV table and the bottom half is from the AVL table.
When I select a particular month from the NAV table, all the filters applies perfectly to the NAV data while in the bottom half you can see that the particular month's data is not getting filtered.
Instead, it takes data for all 9 Initials from the AVL table for the entire year.
Take as Example : For AMSH
For January Month
NAV Table - 112.5 Hours
AVL Table - 2,125 Hours (It takes data for AMSH for the entire year, But actually this must be 161.50 Hours for January Month)
Only when I select month from both the tables, the data is showing perfect (Can be seen below)
I'm unable to generate a relationship between Date / Month in both the tables.
Is there any solution to this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @tsarun1992 ,
I would present it in a little bit different way and:
1. Create table with data:
Net Work Hours AVL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I would change the data model. Delete the relationship between NAV and AVL and create a new dimension table which has all the values from the initials column, e.g.
Dim Resources =
DISTINCT (
UNION ( DISTINCT ( 'NAV'[Initials] ), DISTINCT ( 'AVL'[Initials] ) )
)
and then create one-to-many relationships from the new dimension table to both NAV and AVL. Use the initials column from the dimension table in any visuals or filters.
Also create a date table, properly marked as a date table, and link that to both NAV and AVL. Use columns from the date table in your filters and visuals.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
08-10-2024 04:33 AM | |||
05-26-2024 08:54 PM | |||
01-18-2024 12:33 PM | |||
07-23-2024 03:43 AM | |||
05-12-2024 10:05 PM |
User | Count |
---|---|
117 | |
96 | |
83 | |
55 | |
46 |