Code Monkey home page Code Monkey logo

qssimplekpi's People

Contributors

alner avatar axelssonhakan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qssimplekpi's Issues

SimpleKPI is not working on server from IE11

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

Build Environment

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

Group by dimension don't work with aggregates

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.

Expressions with two dimensions in aggr function does not work as measure

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?

Simple KPI Label Expression / Dynamic Label

This question/issue is two-fold:

  1. What function does the second field input (with the expression editor) serve? Is it a way of having a dynamic label? If so, how does it work?
    image
  2. If the feature does not currently exist, would it be possible to add a feature for dynamic labeling?

Can't Export sheet to PDF QS Server 3.2 SR4

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

Coloring and Icon FX using Column(x) function

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?

image

>0 and <0 Conditionnal formatting

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

Cannot edit qsSimpleKPI in Dev Hub

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

Error adding 25 measures

Hi,

We are developing a KPIs Dashboard. We are using one object, and when we are adding the 26th measure in the object, the object "turns white".
Here are some screeshots of the error:

image

image

Unable to Edit Object

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:

  1. Added the Simple KPI object to my Sheet (Successful)
  2. Added three measures from my master items (Successful)
  3. Checked "Override parameters" to create conditional labels (Successful)
  4. Tried to edit the conditional label (Unsuccessful)

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

"Auto" formatting of dates

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 Failed to render on 2.2?

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

Conditional Formatting for dimension

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 .
image

Adding qsSimpleKPI to Mashup on QS Server does not work

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

Increase number of items per row

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

Actions

Hi, I want to know if its possible to add actions to the KPI such as select fields.

Thanks,

W.

Simple KPI not working in Mashup

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:

  1. Is there a compatibility issue between Simple KPI extension and Mashup in Qlik Sense?
  2. Is there any other way for me to combine a KPI and a line chart and show it as a card? Or in a broader sense, can I combine 2 or more graphs/charts and make it look like 1 in Sense?

Many thanks in advance.

Kind regards,
Nicolas.

Value Color

Hi,

We add a dimension on our Sense App and we wanted to add a rule to paint red or gree the data .
The problem is that it does paint the data, but on the total amount of the object, and not for each dimension records.

We are adding screeshots of the problem:

image

image

image

image

image

Working with Internet Explorer (11)

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)
ie

It seems it's perfectly working on Firefox (as well as Chrome) however... (so the extension has been imported without any problem)
Firefox:
firefox

Do you reproduce this issue on your side (and if so could you correct it)?

Thanks!

Can´t import visualization to PDF or Power Point

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

Thanks
captura

Responsiveness Not Working on First Load

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!

Override Parameters Label not working in Jun release with latest SimpleKPI Build

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

First App Open Issue

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...

First open with issue:
ko

Browser refresh ok:
ok

Export to PDF

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?

QAP

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.

Unable to use Simple KPI objects in a mashup

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.

Link Sheet Feature Request

Hi,

On the original KPI extension supplied by Qlik there was a "Link to sheet" option which allowed you to jump to another sheet - normally showing a table of the KPI source data.

image

Can this be added to your extension please.

Many thanks,
Dog.

Sheet PDF export does not work in Qlik Sense June 2017 Patch 2

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

Automatic number formatting does not work

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?

Issue in Mashup referencing http://localhost:4848/resources/assets/general/utils/drag-and-drop-service.js??

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.

How to add trend chart into KPI template ?

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

Can't import into Qlik Server 2.x

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

Auto number formatting issue in release 3.2 SR3

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.

Dynamic Resizing of KPI Metric Text

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.
kpi_issue_img

Error with visualization

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.