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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
PowerBINewbie66
New Member

Dynamic measure on the x-axis in simple bar chart diagram

Hi,

the dataset contains a number of journeys with different length in hours. In a simple clusted column chart, I want to display on the y-axis the number of journeys (as % of total number of journeys) and on the x-axis percentiles which are labelled 1-x for 10th percentile (can be 5 as in the example visualisation below), 1-y for the 25th percentile, and so on, where x, y etc are calculated with the PERCENTICE.EXC DAX-function and will return the max range number for 10%, 25%, 50%, 75%, 90% and 100%-tiles. I.e., the labels on the x-axis are not fixed, but dynamic. It seems it is not possible to put measures that calculate the percentile ranges on it. Or is it possible to achive through some trick (with disconnected tables or similar)?

 

PowerBINewbie66_2-1593000836913.png

 

Kind regards

C

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @PowerBINewbie66 ,

 

In this visual, measure cannot be used as x-axis. You need to convert the measure into calculated columns and create a slicer based on the calculate column to filter the x-axis.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @PowerBINewbie66 ,

 

In this visual, measure cannot be used as x-axis. You need to convert the measure into calculated columns and create a slicer based on the calculate column to filter the x-axis.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Thanks for your help! /C

PowerBINewbie66
New Member

A clarification, the x-axis contains the hour banding groups/percentiles where 10%, 25%, 50%, 75%, 90% and 100% of the journeys fall withing

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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