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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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