Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |