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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.