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

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.

Reply
belurrashmi
Frequent Visitor

How to create line value for each column series in line and clustered column chart

Hi,

 

I am using Power BI desktop and would like to show the line value for each column series ( severity ). I created a Quick measure for totals and used that for creating line values.

 

My table has column to calculate whether each defect is over target or under target depending on the cycletime.

 

2017-06-12_18-09-38.jpg

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @belurrashmi,

 

From below image, we can see the legend in a line chart can divide a line into several series based on legend items. However, the legend in a combination chart seems doesn't work, because it only applies to column bars in a combination chart.

1.PNG

 

To work around that, you should create multiple measures to generate multiple lines based on different legend items.

Count over High =
CALCULATE (
    COUNT ( 'Line chart'[Target] ),
    FILTER (
        'Line chart',
        'Line chart'[Level] = "High"
            && 'Line chart'[Target] = "Over Target"
    )
)

Count over Low =
CALCULATE (
    COUNT ( 'Line chart'[Target] ),
    FILTER (
        'Line chart',
        'Line chart'[Level] = "Low"
            && 'Line chart'[Target] = "Over Target"
    )
)

Count over Medium =
CALCULATE (
    COUNT ( 'Line chart'[Target] ),
    FILTER (
        'Line chart',
        'Line chart'[Level] = "Medium"
            && 'Line chart'[Target] = "Over Target"
    )
)

3.PNG

 

Besides, you can submit a feature request on idea.

 

Best regards,
Yuliana Gu

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

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @belurrashmi,

 

From below image, we can see the legend in a line chart can divide a line into several series based on legend items. However, the legend in a combination chart seems doesn't work, because it only applies to column bars in a combination chart.

1.PNG

 

To work around that, you should create multiple measures to generate multiple lines based on different legend items.

Count over High =
CALCULATE (
    COUNT ( 'Line chart'[Target] ),
    FILTER (
        'Line chart',
        'Line chart'[Level] = "High"
            && 'Line chart'[Target] = "Over Target"
    )
)

Count over Low =
CALCULATE (
    COUNT ( 'Line chart'[Target] ),
    FILTER (
        'Line chart',
        'Line chart'[Level] = "Low"
            && 'Line chart'[Target] = "Over Target"
    )
)

Count over Medium =
CALCULATE (
    COUNT ( 'Line chart'[Target] ),
    FILTER (
        'Line chart',
        'Line chart'[Level] = "Medium"
            && 'Line chart'[Target] = "Over Target"
    )
)

3.PNG

 

Besides, you can submit a feature request on idea.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Would you be able to start the line values according to the lenger. For example show the line values Count of HIGH from the column Level HIGH and similarly the line  Count of Medium originate from the column Medium. At the moment it seem to be originating from the middle of the column

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.