Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I am using a line chart to show manpower required for future projects. I would like to incorporate a line which shows current manpower. Which is a field not currently used in the chart (EmployeeCount). I would like it to show like the Constant Line I added. Can this be done?
What does the Employee count column represent?
We need to know what kind of aggregation to perform on it?
Generally your formula should look something like this...
Total Employees =
CALCULATE (
DISTINCTCOUNT ( 'Table'[EmployeeID] ),
ALLSELECTED ( 'CalendarTable' )
)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 38 | |
| 31 | |
| 27 |