The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all
I have been doing a bit of digging around on the forum to try and find a solution but can't seem to get this working.
I currently have two separate measures that are individually working:
I would like both of these to be displayed in a single matrix and think this needs to be combined into a single measure but can not get it working.
Data Structure
Plan Table
Employee ID
Activity
Days allocated
Staffing Table
Employee ID
Employee name
Start Date
End Date
FTE
Months Present (Calculated Column)
Current Measures
April = CALCULATE(
SUMX('Staffing',((12/SUM('Staffing'[Months Present]))*0.065)*SUM('Plans'[Days])),
FILTER('Plans','Plans'[Activity]<>"Leave"))
April Leave = 21.67 - 'Plans'[April]
Expected Outcome
Activity | April | May | June | July | August | September | etc |
Corporate | 10 | ||||||
Development | 5 | ||||||
Training | 5 | ||||||
Leave | 1.67 | ||||||
Total | 21.67 |
Any help would be much appreciated.
User | Count |
---|---|
20 | |
17 | |
15 | |
14 | |
12 |
User | Count |
---|---|
34 | |
34 | |
20 | |
19 | |
18 |