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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Tasneem3298
New Member

Axis issue

I have a combination visual i.e. line and stacked column chart where as per the custom table parameter 't' and 'g' selection, the values are being passed in the visual.

For instance both the table as A,B,C,D,E,F as row values. If A/B is selected then the visual will be showing column otherwise line values using switch().

Tasneem3298_3-1722236802171.png

 

 

 



I'm experiencing an issue where if neither A or B is selected i.e. no bar bar values, it still shows random value on the primary y axis(left). 

I want it to either not display any value on the left whenever no bar selection is made and also to show the axis value depending upon the selection. 
i.e. if both the measures are of % type then left and right side axis shows the respective % value as per automatic axis range.
Same for column.


Tasneem3298_0-1722236274213.png

Here only % values are selected which have been passed in secondary i.e. neither A or B was selected in both the parameters.

Tasneem3298_0-1722250743831.png
Here B was selected in both the parameters. As Align 0 is off, no values are being shown on the right else random values are visible too.


Kindly help



 



1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Tasneem3298 ,

I create a table as you mentioned.

vyilongmsft_0-1722309053410.png

Then I put it into the visual.

vyilongmsft_1-1722309104215.png

Currently, in Power BI, the value range of the vertical axis only follows the axis that it depends on.

vyilongmsft_3-1722309233817.png

 

vyilongmsft_2-1722309204572.png

 

 

 

Best Regards

Yilong Zhou

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

1 REPLY 1
Anonymous
Not applicable

Hi @Tasneem3298 ,

I create a table as you mentioned.

vyilongmsft_0-1722309053410.png

Then I put it into the visual.

vyilongmsft_1-1722309104215.png

Currently, in Power BI, the value range of the vertical axis only follows the axis that it depends on.

vyilongmsft_3-1722309233817.png

 

vyilongmsft_2-1722309204572.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.