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
ldenney
Regular Visitor

Line & Clustered Column Chart

Hello Community -

I am working on a line and clustered column chart. The x axis is fiscal year end and the Y axis are an indicator. The columns are an indicator for a hospital and I need to add 4 benchmark lines with differing values by year. I'm using a slicer to filter the hospital. I'm having trouble organizing the data to accomplish this...I have tried everything in 1 file and I'm currently trying to use the hospital file with 4 joined tables containing data for each benchmark type, indicator and year. Any suggestions on how to accomplish this?

data_layout.pngflex_graph.pngThank you!

1 ACCEPTED SOLUTION

Hi @v-lid-msft 

 

I have tried the "cross filter direction" as both and it doesn't work. I will try the fiscal year column in another calendar table and let you know how it goes.

 

Regards -

View solution in original post

4 REPLIES 4
v-lid-msft
Community Support
Community Support

Hi @ldenney ,

 

We can also use the following measures as line values to meet your requirement:

 

State Acute Indicator 1 =
CALCULATE (
    SUM ( 'State Acute'[State Acute Indicator 1] ),
    FILTER (
        ALLSELECTED ( 'State Acute' ),
        [fy_end_dt] IN FILTERS ( 'Hospital'[Fiscal Year End] )
    )
)

 

State CAH Indicator 1 =
CALCULATE (
    SUM ( 'State Acute'[State CAH Indicator 1] ),
    FILTER (
        ALLSELECTED ( 'State CAH' ),
        [fy_end_dt] IN FILTERS ( 'Hospital'[Fiscal Year End] )
    )
)

 

US Actue Indicator 1 =
CALCULATE (
    SUM ( 'US Actue'[US Actue Indicator 1] ),
    FILTER (
        ALLSELECTED ( 'US Actue' ),
        [fy_end_dt] IN FILTERS ( 'Hospital'[Fiscal Year End] )
    )
)

 

US CAH Indicator 1 =
CALCULATE (
    SUM ( 'State Acute'[US CAH Indicator 1] ),
    FILTER (
        ALLSELECTED ( 'State US' ),
        [fy_end_dt] IN FILTERS ( 'Hospital'[Fiscal Year End] )
    )
)

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lid-msft
Community Support
Community Support

Hi @ldenney ,

 

We can try to set the "Cross Filter direction" as both for each benchmark table and hosptial table, or we can use a fiscal year column in another calendar table as the x-axis field.

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-lid-msft 

 

I have tried the "cross filter direction" as both and it doesn't work. I will try the fiscal year column in another calendar table and let you know how it goes.

 

Regards -

Hi @v-lid-msft - I was able to get the visualization to work last night by using the fiscal year column in another table and linking everything to that table. Thanks so much for your help. I will keep your other suggestion in mind.

 

Thanks a million!

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.