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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
andymc123
Advocate III
Advocate III

Strange behavior in a stacked column chart with 2 lines

I am currently working on a set of reports that deal with averages and comparing individual and District averages to a national average.  I was able to use some DAX average and averageX formulas to build the data set, and in tables the data seems just fine when it comes to the on-page filters as well as the cross filtering.  In a stacked column chart with 2 lines however, the cross filtering will sometimes add a second Y axis and move the data points in an odd way.

 

stackedColumn2Lines1.PNGstackedColumn2Lines2.PNGstackedColumn2Lines3.PNGstackedColumn2Lines4.PNG

 

I am just curious if anyone else has seen this?  Maybe there is a quick fix or a setting that I am missing?

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @andymc123,

 

The secondary axis is based on line field values, I'm not so sure why it display/hide when you interact with other visuals. 

Maybe you can manually turn on/off it on format tab.

 

43.gif

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @andymc123,

 

The secondary axis is based on line field values, I'm not so sure why it display/hide when you interact with other visuals. 

Maybe you can manually turn on/off it on format tab.

 

43.gif

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thanks!  there is a sub-setting under the Y-Axis settings called "Show secondary".  I needed to apply a cross filter (click on a row in the table that showed both the primary and secondary Y axes) then when I turned off the "Show secondary" the point and line behavior started to work as expected.

 

This has had me stumped for a while.  I am glad that the fix was literally just clicking on the correct setting switch.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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