Discussion board where members can get started with Qlik Sense.
i want to display an articelnumber in my chart, but the problem is that i dont want to show the first 2 digits.
So it's like i have the number "01"43434343 and in only want to show 43434343. I dont know how to slice it.
Maybe someone knows if there is a substring method or something.
here a little bit of code from my js.file
html += '>';
html += "<div class='label'><img src='https://cdn./375Wx480H/"+dim.qText+"_01.jpg' class='image'> "+dim.qText+"</div>";
html += "<div class='bar' style='width:" + Math.round(w * (meas.qNum / vmax )) + "px;min-width:38px;'>"
html += "<div class='inner'>"+meas.qNum+"</div></div>";
html += "</div>";
and i want from the var in red only the digits after the second digit
Thanks in advance
Go to Solution.
since it is standard js. u can use standard js code:
this will give u the text of ur dimension Text after the second digit.
did you tried this?
sorry but im searching for a js solution for the extension editor.