Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi All,
I need to visualize certain metrics on a single line chart and the y axis needs to switch between numeric and percent based values on a selected metric.
The DAX I've written is shown below. When selecting different metrics, the values only show numeric whole numbers for values where I need it to be a percentage. Any help would be much appreciated, personally I think I am using the wrong DAX function after the RETURN bit but not sure what DAX function to use.
DAX written:
If you want to dynamically format measures, you have to use calculation groups.
@Anonymous Thank you for this, I am trying to use calculation groups in Tabular editor however, the following measures I am trying to input into the calculation group do not work when used in the line chart, what is wrong with the following x5 DAX expressions?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |