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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

@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
Anonymous
Not applicable

@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 @Anonymous ,

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 @Anonymous ,

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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