Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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' )
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 43 | |
| 40 | |
| 38 | |
| 22 |
| User | Count |
|---|---|
| 178 | |
| 125 | |
| 116 | |
| 77 | |
| 54 |