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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ramya616
Helper I
Helper I

How to convert a column into measure without changing any values so I can use the measure on Y-Axis?

How to convert a column into measure wihtout changing any values so that I can use the measure on the Y-Axis (using field parameter)? To use field parameter on Y-Axis, it should be a measure. 

@amitchandak @lbendlin @Ashish_Mathur 

1 ACCEPTED SOLUTION
Ramya616
Helper I
Helper I

@v-yiruan-msft  Thank you for your reply. I have a column with values of total sales for each month. So I used Measure_Total Sales=AVERAGE(Sales[Total Sales]) then it created a measure with same values of toal values without changing any data. It solved the issue.Thank you.

Total SalesYearMeasure_Total Sales
10202110
20202220
30202330

View solution in original post

3 REPLIES 3
Ramya616
Helper I
Helper I

@v-yiruan-msft  Thank you for your reply. I have a column with values of total sales for each month. So I used Measure_Total Sales=AVERAGE(Sales[Total Sales]) then it created a measure with same values of toal values without changing any data. It solved the issue.Thank you.

Total SalesYearMeasure_Total Sales
10202110
20202220
30202330

Hi @Ramya616 ,

It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours.  Thank you.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

Hi @Ramya616 ,

You can refer the following links to get it as an workaround.

DAX Measure in the Axis of the Power BI Report

1. Create a dimension table

yingyinr_0-1656908687386.png

2. Create a measure as below

yingyinr_1-1656908707704.png

The workaround of using the measure as axis in the visual

Use Measures in Columns of a Matrix Visual

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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