Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lucy64
Advocate II
Advocate II

Help with Line Chart.

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?

 

ProjectLineChart.PNG

1 REPLY 1
Sean
Community Champion
Community Champion

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' )
)

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.