Have a button driving which metric is displayed in the line chart. 1st measure is dollar formatted with 2 decimal places. 2nd measure is whole number with no decimal places. The value labels on the chart adjust but the y-axis stays dollars.
1st master item expression
num(sum([Order Amount]), '$#,##0.00', '.' , ',' )
2nd master item expression
num(count(distinct [Order Number]), '#,##0', '.' , ',' )
![annumff_0-1687372019543.png annumff_0-1687372019543.png](https://community.qlik.com/t5/image/serverpage/image-id/110696i8C3C2AF40CAD67B1/image-size/medium?v=v2&px=400)
Button Metric 1 measure is master measure with Num( [Gross Sales Price]), '$#,##0.##', '.' , ',' )
![annumff_1-1687372019635.png annumff_1-1687372019635.png](https://community.qlik.com/t5/image/serverpage/image-id/110697i7D02C75849698FA2/image-size/medium?v=v2&px=400)
Button metric 1 measure is master measure with num(count([Order Number]), '#,##0', '.' , ',' )