Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear all,
Please can you help me with the following:
Table 1
Date | Technician name | Worked hours |
There are multiple entries for a single date for the same Technician, e.g.
1 Jan 2018 | John | 6 hours
1 Jan 2018 | John | 3 hours
1 Jan 2018 | John | 4 hours
Table 2
Date | Technician name | Approved hours |
For a single date & technician there can be multiple entries with different approved hours. I only want to consider the highest number
1 Jan 2018 | John | 6 hours
1 Jan 2018 | John | 8 hours
1 Jan 2018 | John | 10 hours
In this case the highest number is 10 hours.
I want to create a third table with:
Table 3
Date | Technician name | Approved hours (max) | Worked hours
1 Jan 2018 John 10 hours 13 hours
Thanks a lot!
Solved! Go to Solution.
Hi,
in this case you need 2 another tables.
'dimension calendar' and 'dimension techician name'
in these dimension tables you will have all the distinct dates and distinct tecnician names.
After you may to create a relationship between your dimenios and your facts.
In the new table (as a visual)... you will use
dimcalendar[Date] | dimTechinician[Name] | max(Table2[AprovedHours]) | sum(Table1[WorkedHours])
Hi,
in this case you need 2 another tables.
'dimension calendar' and 'dimension techician name'
in these dimension tables you will have all the distinct dates and distinct tecnician names.
After you may to create a relationship between your dimenios and your facts.
In the new table (as a visual)... you will use
dimcalendar[Date] | dimTechinician[Name] | max(Table2[AprovedHours]) | sum(Table1[WorkedHours])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
100 | |
72 | |
44 | |
38 | |
29 |
User | Count |
---|---|
156 | |
92 | |
62 | |
44 | |
41 |