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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Lucy64
Helper III
Helper III

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors