====== How to switch measure displayed in a chart ====== Source : [[https://support.need4viz.com/kb/faq.php?id=101|Support Need4Viz — KB #101]] — Category : 1. Webi as a Dashboard ==== Symptom ==== * You want to switch the measure displayed in a chart (Ex. : changing from Quantity, to Sales revenue, to Margin) ==== Reason and Prerequisites ==== **Environment:** * %%SAP BusinessObjects 4.2/4.3%% * N4V All versions ==== Resolution ==== There are two ways to achieve your goal. The first one is using the N4V Multi Chart component and its settings. The second one is by using a combination of a Webi measure variable and a N4 navigation component. **//%%1/ Using the N4V Multi Chart component%%//** * Create your Webi table including the dimension and the measures you want to display : %%[image: image]%% * Turn your table into the N4V Multi Chart component : %%[image: image]%% * Open the Extended Parameter panel and change the following settings : **2 //%%/ Using a combination of the N4V Radio button and Multi Chart components%%//** * %%Create a first empty dimension Webi variable. This variable (ex. "Selected_measure) will contain the selected measure name to display :%% %%[image: image]%% * %%Create a N4V Radio Button based on the "Selected_measure" variable (actually this feeding will not be used) :%% %%[image: image]%% * Open the Extended Parameters panel and set the Radio Button component as followed * Use a Custom list of values (give the different measures you want to display) : %%[image: image]%% * %%Affect the Control to a Variable (the "Selected_measure" variable, created previously) :%% %%[image: image]%% * Apply, the Radio button component should display the different measures as following : %%[image: image]%% * %%Create a new measure Webi variable (ex. "Measure_to_display") with the following formula (replace the values and measure with your own needs) :%% %%[image: image]%% * %%Create a N4V Multi Chart with the dimension and the "Measure_to_display" measure objects :%% %%[image: image]%% * Go to Reading mode. You can now select in the radio button the measure you want to display in the chart :