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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
kimdiep503
Frequent Visitor

Percentage change in line cluster chart

I have the following formula for percentage change with the graph attached. I'm having a hard time getting the percentage change to show from year 2022-2023. Can anyone see what I did wrong? Thanks in advance

 

Percentage Change =
VAR This_YEAR = [Count of Open VER]
VAR LAST_YEAR = Calculate([Count of Open VER], SAMEPERIODLASTYEAR(Calendar_DAX[Date]))
Return Divide(This_YEAR - LAST_YEAR, LAST_YEAR, 0)

 

kimdiep503_0-1692359319415.png

kimdiep503_1-1692359589551.png

 

 

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

Hi , @kimdiep503 

According to your description, you have created a correct measure and show the right in the visual and just the 2023 percentage label dose not display in the visual .

For this , you can try to modify the "Secondary-Y-axis" range for your visual , like this:

vyueyunzhmsft_0-1692584564765.png

Then we can see the percentage for 2022-2023.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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
v-yueyunzh-msft
Community Support
Community Support

Hi , @kimdiep503 

According to your description, you have created a correct measure and show the right in the visual and just the 2023 percentage label dose not display in the visual .

For this , you can try to modify the "Secondary-Y-axis" range for your visual , like this:

vyueyunzhmsft_0-1692584564765.png

Then we can see the percentage for 2022-2023.

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors