Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 7 | |
| 5 |