The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Solved! Go to Solution.
@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 Sales | Year | Measure_Total Sales |
10 | 2021 | 10 |
20 | 2022 | 20 |
30 | 2023 | 30 |
@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 Sales | Year | Measure_Total Sales |
10 | 2021 | 10 |
20 | 2022 | 20 |
30 | 2023 | 30 |
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
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
2. Create a measure as below
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
108 | |
78 | |
77 | |
46 | |
39 |
User | Count |
---|---|
137 | |
108 | |
64 | |
64 | |
53 |