on 01-28-2015 11:46 AM
Hello experts,
I need to add a chart/component in my application which will display a single numeric value(percentage format) based on a single keyfigure.
I don't need anything in x-axis or y-axis.Just the percentage value to be displayed.
Please help.
I am a beginner in SAP BO design studio.Any help would be appreciated.
Thanks,
Varsha
Hi Varsha,
We had a similar requirement wherein we had to display a single numeric value as a Value / Percentage. So we developed a custom component which could do this. We also added quite a few formatting options like changing the no. of decimal places etc. Following are some screenshots of what we had developed:
This is also available as part of our Design Studio Custom Extensions Suite ( DSX ) - http://visualbi.com/sap-design-studio/dsx-extensions/
Best Regards,
Sesha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alfred,
I am trying your above solution but it's not quite working for me. I wish to display a calculated value that is a percentage in a text box along with some text. I am using Design Studio 1.6.
My source data from a universe is this:
My global script function called 'pct' is this:
var Complete = NUM_ACCREDITATIONS_STATUS.getData("OBJ_299", {"OBJ_122":"Complete"}).value;
var Total = NUM_ACCREDITATIONS_STATUS.getData("OBJ_299","OBJ_122").value;
var Percent = (Complete / Total) * 100;
var formattedText = "Your MAST compliance is: " + Convert.floatToString(Complete,"#,##0.0")+"%";
return formattedText;
I now wish to output the formattedText value in a text box TEXT_1 so I have set up an On Startup Event as follows:
When I execute the application the text value is not being displayed in the text box.
What am I missing?
Thanks,
Chris
Please try using the KPI tile, which comes with the Design Studio SDK templates - see the help at SAP BusinessObjects Design Studio 1.4 – SAP Help Portal Page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.