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

Dynamically change one part of the axis of the graph in Power BI

Hello Everyone,

 

I am trying to make a chart that shows a static part ex (sales of 2019,2020) and one part that changes dynamically based on a selection. If I select the sales of first quarter of 2021 the chart should display the data for Q1 2019 2020, if a select the sales of II quarter the chart should display the data for Q2 2019 2020 and so on...

Is it possible?

Thanks

Dri

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hi @dripet84 ,

 

Have you tried creating a slicer with QUARTER part of date column and using it for dynamic change that you are looking for ?

Something like shown below:

quarter.gif

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

v-xiaoyan-msft
Community Support
Community Support

Hi@dripet84

 

I'm not sure I understand your needs accurately.

Please see if the following link is helpful to you.Dynamically Changing A Chart Axis In Power BI Using Bookmarks And Buttons 

 

if this does not solve your problem, please provide some sample data without sensitive information.

 

Hope it helps.

 

Best Regards,

Caitlyn Yan

 

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

3 REPLIES 3
v-xiaoyan-msft
Community Support
Community Support

Hi@dripet84

 

I'm not sure I understand your needs accurately.

Please see if the following link is helpful to you.Dynamically Changing A Chart Axis In Power BI Using Bookmarks And Buttons 

 

if this does not solve your problem, please provide some sample data without sensitive information.

 

Hope it helps.

 

Best Regards,

Caitlyn Yan

 

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

Pragati11
Super User
Super User

Hi @dripet84 ,

 

Have you tried creating a slicer with QUARTER part of date column and using it for dynamic change that you are looking for ?

Something like shown below:

quarter.gif

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Hi, 

maybe I was not clear, I need the data for the quarter only for 2021 and for the other year the full result, like:

|2021-Q1|2020|2019|, and if a select the Q2 (in the slicer), I need the following data: |2021-Q2|2020|2019|.

 

 

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.