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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors