Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I want to create a matrix visual or line chart where I can show the development of the FTE (or something else) on a monthly base. Problem is that my dataset doesn't have a reference date column, but it has two columns validfrom and validuntil, like below.
| Company | EmployeeID | FTE | Validfrom | Validuntil |
| A | 001 | 1 | 01-01-2019 | 30-06-2019 |
| A | 001 | 0,8 | 01-07-2019 | 31-12-2019 |
| A | 001 | 0,8 | 01-01-2020 | null |
Which measure can I use too show the values SUM(FTE) on a monthly base?
Solved! Go to Solution.
Hi, @Anonymous
Sorry, I forgot to consider the null in the ValidUntil column.
please check the below amended measure.
@Anonymous
To achieve your required output, you must create new table with calendar and record FTE value for each date.
With current records it isnot possible get sum for each month. For example, the FTE value is 1 for Jan 2019 to June 2019, but we cannot identify whether it means 1 FTE for each month or 1 FTE for whole 6 months. If it is the latter, there is no criteria to distinguish the 1 FTE to 6 month, proportional or evenly?
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Sorry, I forgot to consider the null in the ValidUntil column.
please check the below amended measure.
Hi, @Anonymous
Please correct me if wrongly understood what you need.
I assume that you have the custom-date-table.
By using this custom-date-table, no connection is needed at this moment, and please try to write the below.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
@Anonymous , Please refer my HR blog can help, on the same topic
or refer How to divide/distribute values between start date or end date or count days across months/days: https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 72 | |
| 39 | |
| 35 | |
| 23 |