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
I have a table A
Person ID | Hours | WK ID |
AME374 | 0.5 | 22335 |
AME374 | 0.5 | 11223 |
BBO243 | 6 | 66223 |
BBO243 | 1.5 | 11223 |
BBO243 | 0.5 | 66223 |
BCO57 | 0.5 | 22335 |
BCO57 | 0.5 | 11223 |
CPF060 | 0.5 | 11223 |
CPF060 | 0.5 | 66223 |
CPF060 | 0.5 | 22335 |
another table B
WK ID | Status date |
22335 | 04-2022 |
11223 | 04-2022 |
66223 | 01-2023 |
They are connected by a WK ID
I want to create a DAX measure to sum hours based on person ID from table A and Status date from table B
so measure would give for AME374 for 04-22 , hours= 1 since both WK ID fall in 04-2022
Person ID is in different table A and status in table B and they are connected by WK ID, s a DAX measure has be created to sum hours for each person for each month
1,put the Person ID in the row, and Status Date in the column
2,create a mearsure, and put it in the value area
TotalHours=SUM(TableA[Hours])
the you can get this
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 |
---|---|
25 | |
18 | |
15 | |
9 | |
8 |
User | Count |
---|---|
37 | |
32 | |
18 | |
16 | |
13 |