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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
mwadhwani
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
MFelix
Super User
Super User

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



@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

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.