March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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?
Hi @tsarun1992 ,
I would present it in a little bit different way and:
1. Create table with data:
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |