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
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
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.