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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
darrenfishell
Advocate II
Advocate II

How to set separate Y-Axis ranges for single-column small multiples chart?

I am looking to make a small multiples chart across four sales categories that have very different ranges. I'd like to avoid breaking these into separate charts, but I can't figure out a way to make the Y-axis relative to the range for each dimension.

darrenfishell_0-1630528517361.png


I've created a measure that accurately returns the MAX value along year for each of these categories, but that does not return the correct axis result. The formula is of the format: 

Max Across Years = CALCULATE( MAXX( SUMMARIZE( 'Table', 'Table'[Date].[Year], "Annual Amount", SUM( 'Table'[Value] )), [Annual Amount] ), ALLEXCEPT('Table', 'Table'[Metric Name]) )

9 REPLIES 9
amitchandak
Super User
Super User

Thanks @amitchandak. I am using that visual with that configuration, but each Y-axis is set to the same range. Should this automatically set independent axis ranges for each dimension used for small multiples? 

If that is not automatic, do you know how I can use a formula to properly set the end of the axis to be relative to the max value along each row in the chart image I pasted above? 

Hi  @darrenfishell ,

 

You could click the setting button on the right upper corner>scale>choose "Individual Scale":

vkellymsft_0-1630913522045.png

And you will see the different Y-axis range:

vkellymsft_1-1630913785917.png

 

Check below link for reference:

https://xviz.com/blogs/advanced-trellis-small-multiples-key-features-power-bi-visual/

 

Best Regards,
Kelly

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

Hi @v-kelly-msft, thank you! 

I should have specified that I am using the Small Multiples option for the stacked column chart visual. Is this possible using this visual? 

I do plan to use this with PowerBI Service and would like to be able to configure this dynamic axis without paying for the specific visual. 

Hi  @darrenfishell ,

 

Yes,based on my test,it can.For more details ,you could check the reference I show.

 

Best Regards,
Kelly

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

Thank you! I don't see that same menu that you show in PowerBI desktop.

 

And the reference you posted is from the specific xViz Advanced Trellis chart, which is not the default PowerBI stacked column chart.

 

These are the only options I have for the default stacked column visual. 

darrenfishell_0-1631107704499.png

I do have an option to make a formula-based start and end to the axis, but my formula that I shared above does not work when I set that as the End of the axis: 

darrenfishell_1-1631107775217.png

 

Hi @darrenfishell ,

 

Sorry for misunderstanding.

Function for small multiples in clustered column chart is very limited, all the settings for Y-axis can only be synchronized.

vkellymsft_0-1631169182990.png

How about using the visual I recommended before?

 

Best Regards,
Kelly

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

Hi Kelly, 

 

Thanks! Using the xViz option could work, but I do plan to use this in the PowerBI Service, which is an additional cost. 

 

This is helpful, as this seems like a pretty basic requirement for small multiples and should be added to the column charts where small multiples is an option. To expect every partition of the small multiples to have similar data ranges seems strange to me, though I get that having a uniform axis may be desirable for many data profiling scenarios.

Hi @darrenfishell ,

 

Maybe that's why xViz Advanced Trellis chart is created,clustered column chart is more forcused on vertical visualization which is compared to bar chart,and small multiples is not its key feature.

 

Best Regards,
Kelly

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

 

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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