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! Learn more

Reply
mr_reygan
Frequent Visitor

Unable to use a measure as an axis and unable to group measures

Hi,

 

I am attempting to mirror an excel chart in Power BI.

 

I have the following data. The last 2 columns are measures and dependent on a slicer.

 

mr_reygan_0-1606865315558.png

 

I am trying to produce the chart below.

mr_reygan_1-1606865531867.png

 

However, I am not able to use Sales Volume Grouped (Measure) as an axis. How can I achieve this?

Also, is there no option for me to group Sales Volume (Measure)? I had to create if statements to produce the values in Sales Volume Grouped (Measure).

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mr_reygan ,

 

Based on your description, you can do some steps as follows.

Here is my test table.

v-yuaj-msft_0-1607045523499.png

 

Sales Volume = MAXX(FILTER('Sheet1',[Make]=SELECTEDVALUE(Sheet1[Make])),[Sales])

Sales Volume Grouped = IF([Sales Volume]<=99,"0-99","100-9999")

v-yuaj-msft_1-1607045523502.png

 

 

  1. Create a calculated column.

 

Sales Volume Grouped_column = IF([Sales]<=99,"0-99","100-9999")

 

  1. Create a new calculated table including a column that consisting of “0-99”and “100-9999”.

    v-yuaj-msft_0-1607045605999.png

 

Result:

v-yuaj-msft_1-1607045606005.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @mr_reygan ,

 

Based on your description, you can do some steps as follows.

Here is my test table.

v-yuaj-msft_0-1607045523499.png

 

Sales Volume = MAXX(FILTER('Sheet1',[Make]=SELECTEDVALUE(Sheet1[Make])),[Sales])

Sales Volume Grouped = IF([Sales Volume]<=99,"0-99","100-9999")

v-yuaj-msft_1-1607045523502.png

 

 

  1. Create a calculated column.

 

Sales Volume Grouped_column = IF([Sales]<=99,"0-99","100-9999")

 

  1. Create a new calculated table including a column that consisting of “0-99”and “100-9999”.

    v-yuaj-msft_0-1607045605999.png

 

Result:

v-yuaj-msft_1-1607045606005.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

Sorry, I am new to calculated tables. Below is what I see. What should be my formula?

 

mr_reygan_0-1607428330433.png

 

Anonymous
Not applicable

Hi @mr_reygan ,

 

You can use "SUMMARIZE()" function to create a table or just choose "Enter Data" to create a new one.

v-yuaj-msft_0-1607475096377.png

v-yuaj-msft_1-1607475246898.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

This can be done.  Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
HotChilli
Super User
Super User

You can't put a measure on the axis.

You could create a calculated table with column for Sales Volume and use the Grouping/Binning features to create the last column.

mahoneypat
Microsoft Employee
Microsoft Employee

To do that, you need to make a disconnected table with 0-99 and 100-999 as rows.  Also have two other columns that have 0 and 99 and 100 and 999, respectively.  You can use the first column as your axis, and make a measure that uses the other two columns in the evaluation.

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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