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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
nirvana_moksh
Impactful Individual
Impactful Individual

Dynamic Date Axis

Hello All,

 

So I have a working solution for dynamic Column Series which is fed by a selection of a slicer and likewise, I have a dynamic selection for Column Values for a Stacked Bar chart. What I am trying to achieve is a dynamic Shared Axis too for Quarter and Month. I have two calculated columns -

 

For Quarter the values are - 2017-Q1, 2017-Q2 and so forth

For Month the values are - 2017- January,  2017-February and so forth 

 

For my Dynamic Date Selection I created a Table with two Values - Quarterly and Monthly and I created another slicer for this and the final value that was to be dynamic for the Shared Axis is something like TIme Intelligence =  SWITCH(SELECTEDVALUE('TIME TABLE'[TIME]),"QUARTERLY",VALUES('Main Table'[Quarterly Date])) 

 

but this fails as the above measure returns more than one value which is what I want but it errors out. Is this possible to do?

 

 

Thank You

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @nirvana_moksh,

 

I'd like to suggest you take a look at following blog, it may suitable for your requirement:

Dynamic Attributes In A Power BI Report

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @nirvana_moksh,

 

I'd like to suggest you take a look at following blog, it may suitable for your requirement:

Dynamic Attributes In A Power BI Report

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors