The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
@Anonymous 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 |
@Anonymous 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
User | Count |
---|---|
79 | |
78 | |
37 | |
33 | |
31 |
User | Count |
---|---|
93 | |
81 | |
59 | |
49 | |
49 |