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
pdlv
Helper I
Helper I

Config X-Axis Constant Line attribute in Theme file

Hello guys, can I config multiple X-Axis Constant Line, Y-Axis Constant Line attribute in file theme.json?

I have tried to use this setting but it not work.

pdlv_0-1720491523957.png

 

1 ACCEPTED SOLUTION

Thanks for your support, I have found the solution to config X-Axis Constant Line, Y-Axis Constant Line in theme json file by adding $id.

pdlv_0-1720693176491.png

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @pdlv ,

 

Based on what the documentation gives, it seems that changes to x-axis and y-axis are not supported.

vtianyichmsft_0-1720598312448.png

vtianyichmsft_1-1720598327308.png

You can refer to:Use report themes in Power BI Desktop - Power BI | Microsoft Learn

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

 

 

Thanks for your support, I have found the solution to config X-Axis Constant Line, Y-Axis Constant Line in theme json file by adding $id.

pdlv_0-1720693176491.png

 

pdlv
Helper I
Helper I

Hi, anyone have solution for this ?

Anonymous
Not applicable

I also have the same problem too. Does anyone know the solution?

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