Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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' )
)
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 45 | |
| 38 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 86 | |
| 70 | |
| 38 | |
| 29 | |
| 26 |