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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Dynamic axis with dynamic grouping/hierarchy

Hi,

I am facing an issue while trying to build a chart with dynamic axis.

My data is in the following format (attached)

Dimension table:
metric data.jpg

Main Table
Result.jpg

I want the report to be something like this: where I can select Chart context for the yaxis(multiple selection) and chart filter for regular slicing of data.

Report.jpg

The chart should look something similar to:(the data is different...but same concept of metric and dimension) Here 3 metrics are used.
SampleChart.jpg

Is that possible?

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Do you want the "Metric name" or the "dimension_name" show on the "yaxis" on the bar chart, then values from the second table show on the "value" as bars?

 

Best Regards

Maggie

Anonymous
Not applicable

Hi Maggie Yes, I want to display the dimension names of the metrics that have been selected in the chart context. Suppose I select 3 metrics A,B,C (in this order) then the chart should show the values sliced by the chart filter with dimensions of C in the y axis which are grouped by dimensions of B, grouped by dimensions of A. Like the last image that I had attached.

Hi @Anonymous 

You could unpivot columns from "m0" to "m10" in main table, then relate the new column with dimension table based on the "metric id", 

next add metric id into "row" bucket of a matrix.

 

Best Regards

Maggie

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors