alner / qssimplekpi Goto Github PK
View Code? Open in Web Editor NEWSimple KPI component for Qlik Sense
Simple KPI component for Qlik Sense
Hi @alner,
I have an issue with qsSimpleKPI in IE11 in server side, it's working fine in hub from both chrome and Firefox, but it's not working from IE 11, it show me "Invalid visualization the visualization was not found on the server: qsSimpleKPI".
From localhost in desktop it's working fine with IE11, I checked it locally from both single-configuratoror and dev-hub, and it's working fine,
Please advice why it's not working with server side?
Thanks
Hamdy
What build environment can be used for building the extension from raw sources?
I tried in both Windows and Linux, installed node 5.3.0 on Windows and 4.2.6 on Ubiuntu, then npm installed 'gulp', 'babel' and everything else it told me it couldn't find. Ubuntu command line to build was
set NODE_ENV=production && gulp production
Windows command line:
"C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run-script" "build"
I had to create C:\Users\nerush directory on Windows, Linux created it in home directory with no problems.
The last error message in Windows:
[15:53:13] Starting 'build'...
Hash: 907554e9291f0bf486ed
Version: webpack 1.15.0
Time: 593ms
Asset Size Chunks Chunk Names
simple-kpi.js 293 bytes 0 [emitted] js
chunk {0} simple-kpi.js (js) 28 bytes [rendered]
[0] multi js 28 bytes {0} [built] [1 error]
ERROR in Loader C:\Aare\TS\simple-kpi\node_modules\babel\index.js didn't return a function
@ multi js
[15:53:13] Finished 'build' after 607 ms
Linux added some 70 more chunks after
[0] multi js 40 bytes {0} [built] [1 error]
'build' folder only contains qsSimpleKPI.css, simple-kpi.js (293 bytes) and simple-kpi.qext.
What am I missing?
Thanks,
Aare
Hi, I've been trying to make a list of KPI using the group by dimension, but when I use a expression with aggr it retuns null. The expression works without the group by dimension check, but I need to use the group by.
Hi.
I have faced with an issue that Simple KPI don't calculate measure that has formula with two dimensional aggr function, like sum(aggr(sum(Amount),Dim1,Dim2). The result of using such expression in Simple KPI extension is null or nothing. While same expression works fine in standard KPI object.
Could somebody help me with this issue?
Hi, I love your extension and I used to using it in my all Dashboard , but I got this issues from the users that they can't export them sheets to PDF or power point , because the Simple KPI disappear in the exported file.
Could you help us to solve this Issue , Thanks in advance
I use simpleKPI drilling down to another sheet,it works well except on ipad. Is there any solution?thanks~
Hello!
I built a KPI with different values, where some of them are derived from other values using Column(x)-Column(y) formula. It works just fine! The only problem is that for Coloring and Icon conditions, the above formula does not work - I have to repeat the whole initial formula of each KPI again and again. Performance and usability suffer.
Is there way to correct this?
Hi,
I love this extension.
I don't find how to easily set up color to Red if negatve and Green if positive.
Is this possible ?
Otherwise it is quite complex when using calculated dimensions since claculation has to be recopied for each formatting (eg : color, icon selection...)
Thanks
Alner,
Hello, I have the following issue with SimpleKPI , adding a measure N° 40 , the extension does not show anything . Attached App Qlik Sense, I tried with SimpleKPI version 2.0 and 2.1 and Qlik Sense 3.0.1
Thank you.
Regards.
-> https://www.dropbox.com/s/mkdxx0c9rx74sz5/KPI_Test.zip?dl=0
Hi there!
First of, what a wonderful extension. We really use it alot in countless of apps we've published throughout our organization.
I have a question. The company I work for requested minor style changes to this extension. I tried to edit qsSimpleKPI in the Qlik Sense Dev Hub but it keeps telling me:
The qsSimpleKPI is incomplete and cannot be opened or duplicated (wbfolder.wbl file missing)
Manually creating the required wbfolder.wbl file does not solve the problem. I have contacted Qlik if this issue is caused by Qlik Sense itself. But they're persistent and they're telling me this isn't a problem from within Qlik but with the extension itself.
Is there something you could do?
I hope to hear from you soon.
Best regards,
Exo
Hi @alner and community,
This is one of the best extensions I've ever used, so thank you!
Unfortunately, after configuring several Simple KPI objects I'm unable to go back and change any of the properties. I was able to configure a Simple KPI object with three measures and several conditional formatting properties for labels, color, and icons, but now the Simple KPI object only allows me to edit intermittently.
Here is an example set of steps that I went through:
Description of 'error':
I can edit the properties, in this case the "Label" property, but then the edits aren't implemented. If I click out of object properties or click "Done", then go back to the object, the changes I made are reverted (or gone).
This isn't unique to the Label property, it happens with other properties. For example, the "Hide Label" property doesn't do anything when toggled.
I'm not sure how I can troubleshoot this issue. I don't believe it's an issue with logic within any of the properties because I'm experiencing this issue when simply trying to toggle properties like "Hide Label" or changing text color.
Any guidance on how to troubleshoot would be much appreciated because this really is one of the best extensions out there.
Thanks,
Ben
Very nice tool!
I just noticed a measure of "Date(Today())" will return the number string when "Auto" is selected and not a formatted date as expected.
Of course when "Date" is selected the formatting is correct.
Not a major issue however this behaviour is not evident in the standard QlikSense "KPI" chart so might be relativity quick to bring it inline.
Sometimes the extension doesn't work..? This is on a QSense Server 2.2
I've got this message in the dev console:
ReferenceError: 'Promise' is undefined
at Anonymous function (https://XXX/extensions/qsSimpleKPI/qsSimpleKPI.js??1454959877455:1601:25)
at resize (https://XXX/resources/assets/client/client.js??1454959877455:31:5957)
at onResize (https://XXX/resources/assets/client/client.js??1454959877455:33:28322)
at Anonymous function (https://XXX/resources/assets/client/client.js??1454959877455:24:17908)
at Anonymous function (https://XXX/resources/assets/client/client.js??1454959877455:35:6615)
at k (https://XXX/resources/assets/external/requirejs/require.js?1454959877455:44:17685)
at Anonymous function (https://XXX/resources/assets/external/requirejs/require.js?1454959877455:44:18372)
at k.prototype.$eval (https://XXX/resources/assets/external/requirejs/require.js?1454959877455:44:23264)
at k.prot
ReferenceError: 'Promise' is undefined
at Anonymous function (https://XXX/extensions/qsSimpleKPI/qsSimpleKPI.js??1454959877455:1601:25)
at onPaint (https://XXX/resources/assets/client/client.js??1454959877455:33:27820)
at Anonymous function (https://XXX/resources/assets/client/client.js??1454959877455:24:17908)
at Anonymous function (https://XXX/resources/assets/client/client.js??1454959877455:35:6126)
at k (https://XXX/resources/assets/external/requirejs/require.js?1454959877455:44:17685)
at Anonymous function (https://XXX/resources/assets/external/requirejs/require.js?1454959877455:44:18372)
at k.prototype.$eval (https://XXX/resources/assets/external/requirejs/require.js?1454959877455:44:23264)
at k.prototype.$digest (https://XXX/resources/assets/external/requirejs/require.js?14549598774
Is there any possibility to create conditional colour for each measures in each dimension's value ? For example, one of my customer would like to have kpi card by the drill-dimension group . There are 3 measures such as actual,target and actual/target % . Extension aggregates calculations for each dimension's value but we couldn't achieve to show actual/target% in different colours like red and green . It gives the same colour to all dim values .
https://community.qlik.com/thread/222497
Hi Sir
I face the above it , I post the detail issue in above link.
Paul
The extenion is blinking/flashing in full screen when a master visualization is in it (bar chart, line chart)
Hello,
i use qsSimple KPI on my Qlik Sense Server 3.1 SR4 standard apps and it works well.
But when I use it in a mashup, I get an error displayed "Invalid Visualisation" "The Visualisation was not found on the server". I tried to change ownership to my current user in QMC but without sucess.
Any ideas?
thanks
Tobias
Hi,
Would it be possible to increase the number of row items from 10 to 12 to be able to show 12 measures in a line to cover a full financial period. This is under measure, items per row.
Thanking in advance.
Sean Bruton
Hi Alex
I have post my question at Qlik View forum :-
https://community.qlik.com/thread/224096
I using your simple template for my KPI , your have 5 KPI items , i only use 3 and i need to hide the 2 KPI. i can hide all the items , except the icon up down , i unable to hide it.
Hope you can advice me.
Paul
Hi, I want to know if its possible to add actions to the KPI such as select fields.
Thanks,
W.
i would like to have a landing page with several simpleKPI objects and that end-users can click on a SimpleKPI button and will be navigating to a specfic sheets.
is this possible?
Thanks in advanced
Dear,
I am trying to use the Simple KPI extension where I am combining a KPI and a line chart into a card like layout. I am doing this in 4 QS apps that I have built. Now I want to show all these 4 cards with KPI and line charts in a mashup page. The first card works fine when I drag that onto the mashup, it's only when I import another one of these cards from a different app, I get an error which says, No Object with ID ‘objectID’ found.
The object ID here is the same as the ID that is found in the Line chart that I am embedding in the simple KPI extension. SO my questions here are:
Many thanks in advance.
Kind regards,
Nicolas.
Hello @alner
I have an issue when using this nice extension for an app (located on a qs server) and opening this app on Internet Explorer (11) : (sorry errors are in French but it says the visualization is not valid because your extension (qsSimpleKPI) is not found on the server)
It seems it's perfectly working on Firefox (as well as Chrome) however... (so the extension has been imported without any problem)
Firefox:
Do you reproduce this issue on your side (and if so could you correct it)?
Thanks!
Hi
Great Job alner . I was building some KPI´s and works fine. I tried to import visualization to pdf and powr point file , but an error message appears "Invalid Visualization The visualization was not found on the server:qsSimpleKPI "
Error only appears on Qlik Sense Server versión.
On Qlik Sense Dektop works OK
I wonder if I´m missing any setup on Qlik Sense server side
When the responsive setting is turned on, we are seeing instances where the KPI first loads small. After refreshing or switching pages and returning to the original page, the KPI will properly resize.
It would be great to not have to do this reload step to get the responsive sizing. Thanks!
I'm using MasterItems in SimpleKPI. These MasterItems have specific labels which makes sense in the masteritems list, but not in the frontend of SimpleKPI. I was under the assumption that i could use override parameters to give a different label in the output of SimpleKPI than the label name in the MasterItem. I now need to alter the Label in the MasterItem to show a different label in SimpleKPI. I don't really like this, because i have alot of MasterItems, and i want to use a more extensive labelname in the MasterItems list, but only a short label in the output of SimpleKPI
Is the override parameters label not working and can this be fixed, or does this feature have another purpose?
Thanks in advanced
Hi,
I have an issue, also with the Demo App; when I open for the first time the Sense App, KPI's are not fitted.
If I refresh the screen, everything ok.
See screenshot attached.
Running Qlik Sense Server 3.2 SR4.
It's strange because if I have two widgets on the same page, only the first loaded is having the resize issue; second one is fine.
Seems to be something realated on how a JS is loading...
I love this extension, but I can't use it in my production environment because it won't export to PDF. Is there something that can be done so that this works?
Hi Alex
I post the question in forum 👎
Hope you can advise me.
Paul
It appears that this extension is not working on the Qlik Analytics Platform version of Qlik Sense.
We have imported the proper build at https://github.com/alner/qsSimpleKPI/raw/master/build/qsSimpleKPI.zip
But when we access the mashup we get an error message where the visualization should be displayed.
The error message is as follows:
Invalid visualization
The visualization was not found on the server: qsSimpleKPI
We also cannot access the extension with the extension editor at the dev-hub.
It says: Incomplete visualization - The visualization is incomplete and cannot be opened or duplicated (wbfolder.wbl file is missing).
Like this problem: https://community.qlik.com/docs/DOC-16029
The solutions provided in this link wasn't sufficient for our situation at the QAP.
We have installed another extension (the Climber Custom Report) and this extension is working properly with the QAP.
Hello,
I have successfully downloaded and integrated Simple KPI extension in Qlik Sense Server. However the objects I have created cannot display in Mashup. The following error is reported when dropping the object in a mashup canvas: "The visualisation is not found on the server: qsSimpleKPI".
Is there something I have missed?. Any Help?
With kind regards.
Nicodeme.
In the Single Configurator the error message "visualization was not found on the server" is shown.
Hello,
Could you please check and fix PDF export issue when exporting whole sheet? The extension is not exported at all - we can see only blank space in the output.
We have also contacted Qlik support regarding this issue and the conclusion is that the extension and PDF export is not enabled and advised to check: https://help.qlik.com/en-US/sense-developer/June2017/Subsystems/Extensions/Content/Howtos/extensions-enable-export.htm
Many thanks.
Marian
Showing large numbers in the KPI object, e.g. 12345678, the normal Sense behaviour is to show 12.34M or similar, but the KPI object always shows 12345678. Which is a bit of a bummer..
One can of course work around it by manually formatting the number to the desired precision, but the flexibility of Auto number formatting is very nice.
Possible to fix?
Hi Sir
I like your extension very much . it help me make my KPI more easy to create one page with many items.
I am now encounter one issue , which i spend for 2 hour , i am still not able to find where i go wrong ?
https://community.qlik.com/message/1118997#1118997
Above is the link which i post my question there. Hope you can help to advise where i go wrong ?
Paul
Hi, I love your extension and it works great in QlikSense Desktop in a qvf.... but when embedded in a Mashup or viewed in the Single Configurator I get the message "Invalid visualization: The visualisation was not found on the server: qsSimpleKPI".
In Chrome Dev Tools whilst referencing it with the Single Configuratorthe get "Failed to load resource: the server http://localhost:4848/resources/assets/general/utils/drag-and-drop-service.js??1460099147233 ". So looks like that is what it cannot find.
I am a newbie at all this.
Hi Alex
I have create a post at Qlik view forum , and look like i am unable to get the answer 👎
https://community.qlik.com/thread/224112
I have read the documentation , it mentioned that i can add visualisation chart into KPI , when i try to create a visulazation chart name vSales , and when i paste the vSales into the visulization box , but it does work.
Hope you can help me.
Paul
Worked fine on our 3.2 server. However we have a 2.2 server in production after loading it there users get errors when attempting to use it (invalid visualization).
Checked the server logs and found this error on the extension load:
Error when committing. Duplicate extension (the extension already exists or occurs more than once in the zip file): qsSimpleKPI at Repository.Core.Resource.Support.ExtensionResourceSupport.<>c__DisplayClass7.b__3()↵↓ at Repository.Core.Repository.Common.TransactionUtility.RunInTransaction(ITransaction transaction, IEnumerable`1 actions) O5YIuW--ZUs2i2Cp2hX50OhfnT359ZQmfq8sHAyuJ1j3Up2Iy5kI!1923375572!NONE!1490500022206 dfc5d0cb-9717-4371-8867-9be9acdbae74
The latest service release seams to mess with the auto number formatting for measures. For example when previous it showed 407,7K i now get 4,0,8,K using the format 0,0A. Most other configurations just leaves the number showing the total, in this case 407690.
Love the KPI object! I'm using QS Desktop 2.2.4 and have experienced when I resize my window or change my resolution, even if the Dynamic resize option is selected and Auto is set for Rows, the size and the format of the KPI is not always changing. When I first created the object, it worked fine, but after some editing, color expressions, etc. the resizing of the text dynamically has stopped functioning. In addition, the format of the number was originally set to Auto but I've discovered that the formatting is not always working as expected and expands to a (in my case), a # format with two decimals [REFER to image, Item #2], and since the text does not auto resize, it truncates the values displayed [REFER to image, Item #1] in nearly all of my kpi objects. I have built separate KPI objects and all are experiencing similar behaviors.
Hi Alex
By dragging and dropping SimpleKPI object into the edit area I am getting following error message:
"The visualisation is not found on the server: qsSimpleKPI"
I am using Qlik Sense Version 2.03
Thanks in advance and regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.