Forum Discussion
Anonymous
6 years agoNot applicable
Buttons
Hi Everyone , so basically (as shown in the picture below) I want to have the shown buttons to switch between two values (GP= Gross profit) and (OP= Operating profit) so the axis will c...
Ani1991
6 years agoResolver III
Hi Anonymous
You need to create a connectionless table using the Enter Data option like below. It is a seperate new table.
And then you would create a measure like below in your main dataset
VS_GP_OP = SWITCH(SELECTEDVALUE(VS[VS]),"vs GP",[SUMGP],"vs OP",[SUMOP]
which says, if the user has selected vs GP under the Chiclet slicer then display the measure [SUMGP] and if the selectedvalue is vs OP then show the measure [SUMOP].
Let me know for any further concerns.
Thanks,
Ani
Anonymous
6 years agoNot applicable
Hi Ani,
i am not clear about how to enter vs GP & vs OP in the values inside the table , these are values (gp & op) under a column named KPI in one of the tables in my data set. if there is another solution or clarification please lemme know :)
thanks for ur support.
omaima.