cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Dynamic x-axis change

Hi Experts,

 

I have Date Dimension with attributes DateID,Date,Month,Quarter,Year.

Fact table: DateID,SalesValue.

My report has 4 slicers: Year. Quarter, Month, Day.

I want to plot bar graph for SalesValue Vs Dynamically changing Date attributes(Year. Quarter, Month, Day).

 

For ex: When I select 2017 from Year slicer my bar graph on x-axis should show up 4 Quarters for 2017 Vs SalesValue.

Similarly, When I select Quarter the x-axis should dynamically switch to months of those quarter.

Any help or workaround would be appreciated.

 

Thanks

 

 

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Dynamic x-axis change

Hi @mwadhwani,

 

Check this post believe it as the solution you need.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog:

Power BI em Português





Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Dynamic x-axis change

@MFelix,

Thanks for the reply.

This post uses Year,Quarter as a axis value in one slicer.This does not solve my purpose.

My need is to have quarter on x-axis when I select year. If I select Quarter, I want the respective months on x-axis changing dynamically.

 

Thanks

Highlighted
Microsoft
Microsoft

Re: Dynamic x-axis change

Hi @mwadhwani,

 

I'm afraid this cannot be achieved. In my opinion, there is no need to create four separate slicers, the easier way is to add the date (yyyy/mm/dd) column into HierarchySlicer. When you select a Year value (e.g. 2017) from slicer, the chart will show relative data n Year level, but you can drill down to Quarter level via clicking the second drilldown icon on the top left of chart visual, so that 'bar graph on x-axis should show up 4 Quarters for 2017 Vs SalesValue'. 

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors