This forum is for user/member-created articles across the entire Qlik portfolio. Any member that is logged in can create and publish an article here. You must choose the appropriate label in order for the articles to be properly categorized.
When importing Qlik NPrinting users from an Excel file, it is possible also to create filters that made selections on more than one field.
Be sure to know the content of https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/DeployingQVNprinting/Import-Users-Filters.htm#anchor-2 before proceedeing.
This article is valid for all Qlik NPrinting versions that supports users import via Excel file.
The sample file is attached.
In the Filters worksheet of the source Excel file create a row like the following:
In the column Values there are selections based on two fields: [Country]={Austria, Belgium},[CategoryName]={Babywear, Sportswear}. As you can see you have to simply separate the selections on each field by a comma.
In the column Numeric values there is the selection [Year]={2019} that also will be part of the created filter.
Create an Import Task as usual and run it. The result will be a new filter like:
It includes all the selections based on different fields we inserted in the Excel file and:
they have the correct setting in the drop-down menu.
The NPrinting Audit Trail application is a Qlik Sense application that is intended to be run in Qlik Cloud, Qlik Sense Enterprise Client-Managed, or Qlik Sense Desktop. This application summarizes and profiles the audited report execution activity of one or more NPrinting sites. It provides a view of the quantity of reports produced that is drillable by format, destination and other dimensions.
The application can help quantify dependencies prior to moving to Qlik Cloud and can also serve as a snapshot of raw reporting volume that exists on a production system.
Please see the attached configuration guide for setup instructions in your own Qlik Sense environment.
Note: If you only use NPrinting with QlikView, you can still use this application provided you have access to a Qlik Sense environment.
SHEETS:
Requirements
Issue: - Sometimes Customer is not able to change password on Qlik replicate Server.
To change the server password for Qlik Replicate user.
* Some Info which may useful if you are having same issue during password Change.
-- ON Windows --
Key Consideration--
1. User Must be Local Administrator or Should be a part of Domain Administrator
2. Command prompt Should be Open with " Run as Administrator privileges."
Run the following command:
cd < Qlik replicate install Dir/bin >
repctl [-d data-directory] SETSERVERPASSWORD new_password
where data-directory is the name of the Replicate data directory.
The default path is <product_dir>/data.
-- ON Linux --
Key Consideration--
1. Login as Root
Run the following command:
cd < Qlik replicate install Dir/bin >
repctl [-d data-directory] SETSERVERPASSWORD new_password
Information note
You only need to include -d data-directory in the command if you changed the default data directory (e.g. when installing multiple Replicate Linux instances).
Restart the Qlik Replicate services (Windows) or the Qlik Replicate instance (Linux).
-- More info Refer blow link for password
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
New Ideation Process
- Log in to https://community.qlik.com/
- Navigate to Ideation -> Browse and Suggest
![]()
- Above step navigates to Ideation home with embedded Qlik Sense app to search, filter and submit ideas.
![]()
- In the Qlik Sense app, search ideas submitted by you
Click on ‘Smart search’ on the left side -> search for your Qlik Community id -> select the ‘Submitter’ id
![]()
- Above filter by ‘Submitter’ id provides list of ideas submitted
![]()
- Submit new ideas in ideation portal by using ‘Submit an idea’
![]()
![]()
- Ideation portal provides capability to filter ideas by products
![]()
- Ideas that you have, submitted, voted on and subscribed to will appear in your priority list. Priority of the ideas can be updated by moving the slide bar per your requirement
![]()
- ‘What’s Coming’ section shows the ideas that are on Roadmap and been worked on
![]()
As a result of our work always in search of the smarter solutions, we explain how to create a top and bottom in the same chart ...
This example is for a TOP & BOTTOM 5
First create your top and bottom ranking using a calculated dimension...
Choose Bar Chart / Style Orientation - Horizontal
=IF(Aggr(Rank(Sum($(vYourMeasure)),4),$(vDimension))<=5,$(vYourDimension)
,
IF(Aggr(Rank(-Sum($(vYourMeasure)),4),$(vDimension))<=5,$(vYourDimension),4),$(vYourDimension))<=5,$(vYourDimension)))
Your expression...
Sum($(vYourMeasure))
Different colors to differentiate between positive and negative...
=if(Sum($(vYourMeasure))>=0,RGB(0,146,69),RGB(255,0,0))
Sort...
Sort your calculated dimension by the use of the expression... Your expression: Sum($(vYourMeasure)) ... Descending...
Feel free to modify further parameters like Presentation, Axe, etc...
At your disposal to answer questions and comments
André Gomes
This video shows you how to add images to straight tables in Qlik Sense and Qlik Cloud.
The attached file SectionAccess.zip contains several example documents that show how Section Access can be used to restrict access to specific users and to specific data.
This is not a guide on how to use Section Access, but instead shows some of the common errors and how to avoid them.
An excellent guide to Section Access can be found here http://community.qlik.com/docs/DOC-1853
Marcus_Sommer has accumulated a comprehensive list of Section Access Resources in this document Section Access
These examples will require a licenced copy of QlikView to open them, so they not suitable for users with QlikView Personal Edition.
The example documents will ask for a username and password to open them and set the Section Access permissions. The following usernames and passwords can be used to open the documents and see the different functionality with Section Access. When changing from one user to another, you must close QlikView before you can open a document as another user.
UserID, Password
ADMIN, ADMIN
JOHN, JOHN
MARY, MARY
PETER, PETER
SIMON, SIMON
You can view the load script to see how the Section Access and data is configured.
Section Access Example 1
This document attempt to restrict access to a list of named users, but this fails as the section access field names are not set as UPPERCASE in the script.
Section Access Example 2
The app is now correct and prompts for a username and password before users can access the data.
Examples 1 & 2 use the Basic section access data from SectionAccess.xlsx
Access, UserID, Password
USER, USER, USER
ADMIN, ADMIN, ADMIN
USER, JOHN, JOHN
USER, MARY, MARY
USER, PETER, PETER
ADMIN, SIMON, SIMON
Section Access Example 3
The data is restricted so users can only access the Cost Centre data as listed in the Cost Centre column in Section Access.
Access, UserID, Password, CostCentre
USER, USER, USER, *
ADMIN, ADMIN, ADMIN, *
USER, JOHN, JOHN, A
USER, MARY, MARY, B
USER, PETER, PETER, C
ADMIN, SIMON, SIMON, A
Section Access Example 4
This adds extra DUMMY rows to the section access table so the * entries can now access all cost centres.
Access, UserID, Password, CostCentre
USER, USER, USER, *
ADMIN, ADMIN, ADMIN, *
USER, JOHN, JOHN, A
USER, MARY, MARY, B
USER, PETER, PETER, C
ADMIN, SIMON, SIMON, A
DUMMY, DUMMY, DUMMY, D
DUMMY, DUMMY, DUMMY, E
DUMMY, DUMMY, DUMMY, F
DUMMY, DUMMY, DUMMY, G
DUMMY, DUMMY, DUMMY, H
Note – you cannot open the document as user DUMMY because DUMMY is an invalid Access value, only ADMIN and USER entries are allowed to open the document.
Section Access Example 5
This adds Region to the restrictions as well as CostCentre, but the restriction on Region fails as the
region fieldname is not UPPERCASE.
Access, UserID, Password, CostCentre, Region
USER, USER, USER, *, *
ADMIN, ADMIN, ADMIN, *, *
USER, JOHN, JOHN, A, North
USER, MARY, MARY, B, South
USER, PETER, PETER, C, East
ADMIN, SIMON, SIMON, A, North
ADMIN, SIMON, SIMON, A, East
DUMMY, DUMMY, DUMMY, D, North
DUMMY, DUMMY, DUMMY, E, South
DUMMY, DUMMY, DUMMY, F, East
DUMMY, DUMMY, DUMMY, G, West
DUMMY, DUMMY, DUMMY, H
Section Access Example 6
The Region fieldname is uppercase, but the restriction on Region still fails as the region data is not UPPERCASE.
Section Access Example 7
The Region restriction now works by loading the region data into a second field named REGION_SA and forcing the data in REGION_SA to UPPERCASE.
Version3 - The Region field has been removed from the Section Access table. This fixes the error identified by kanhomcake (March 27 2014).
Hopefully this will help avoid some of the basic errors that can be made when implementing Section Access.
Colin Albert.
Hi Folks,
If the Instagram account is public, we can fetch the number of likes and comments based on below scripts in Qlikview.
Script:
LOAD
TextBetween([@1:n],'edge_media_preview_like":{"count":',',') as Likes,
TextBetween([@1:n],'"edge_media_to_parent_comment":{"count":',',') as Comments,
SubField(FilePath(), '/', -1) as PhotoID,
FilePath() as Url
FROM
[https://www.instagram.com/p/B4-I3zrAlTn]
(fix, utf8, no labels)
where wildmatch([@1:n], '*"edge_media_preview_like"*');
output:
Hope it helps for someone
The blog posting 'The Power Of Yellow' describes how Show Alternatives can be used to highlight data excluded by a selection on a field that would otherwise be included. This QlikView application illustrates this functionality.
This tequnique can be useful in making immediately apparent something that would otherwise be hard to spot, or require extra clicks to remove selections.
For a full description of how and why the feature can be used please see the original blog post at: http://www.quickintelligence.co.uk/the-power-of-yellow/
Steve Dark
By the time I’m writing this article Qlik Cloud Service does not support yet the GCP user group during the authentication phase. Thus allow GCP users to access Qlik Cloud, base on their groups is not (yet) an option.
This is expected to be a temporary situation and Qlik will deliver soon (or later) also this feature. Nevertheless timing is important and it may avoid the SaaS adoption for Qlik enthusiast with the hard constraint to relay on Google groups.
In the context above, in this article I'm going to propose an alternative way to achieve the same business scope granting users to spaces based on their membership groups. Therefore, acting on the Authorization instead, the Authentication. This solution is imperfect, widely improvable (anyone is welcome to contribute) and to some extent graceless, but it just works and sometime could make the difference between adopting Qlik SaaS or something else.
Any authenticated user (through GCP or any other solution) will land on Qlik Cloud creating a new user for their first access. This solution is triggered on that specific event “User Creation”. Qlik Application Automation is triggered on the User creation event, and go through the following steps
Here you can find the Google API documentation . The HTTP request retrieve a paginated list of users belonging to the same {groupKey}. This HTTP request needs an authentication method, for this you need to create a service account on the google platform.
Pay attention to paste the Private Key. It is made of 3 lines. The first line is the “BEGIN PRIVATE KEY” the second line is the key itself without any carriage return line feed, the third line is the “END PRIVATE KEY” line. You should end up with something like this:
-----BEGIN PRIVATE KEY-----
<Your private Key in one single line, remove all the CR+LF or /n>
-----END PRIVATE KEY-----
Private Key id from the variable
Private Key from the variable
Time as: {number: {date: 'now', 'U'}}
Select Python as language and paste these lines:
import jwt
iat = inputs['time']
exp = iat + 3600 * 1000
payload = {'iss': 'qlik-user-sync@qliksaasidp-377811.iam.gserviceaccount.com',
'sub': 'qlik-user-sync@qliksaasidp-377811.iam.gserviceaccount.com',
'aud': 'https://admin.googleapis.com/',
'iat': iat,
'exp': exp}
additional_headers = {'kid': inputs['Private Key Id'],"alg": "RS256","typ": "JWT"}
signed_jwt = jwt.encode(payload, inputs['Private Key'], headers=additional_headers,
algorithm='RS256')
print (signed_jwt)
For more details please check this page.
Remember to use as parameter the pageToken
And in the header the authorization Bearer as follow:
Here attached to this article you can find the Automation. Remember to replace the placeholder in the Variable Private Key Id and Variable Private Key with your own keys as well as the group in the two call url blocks.
This document will help those how are looking for solutions for creating flags with ytd/mtd/qtd & rolling averages in qlik sense or Qlikview.
I used HIC's Concept As-of Table https://community.qlik.com/t5/Design/The-As-Of-Table/ba-p/1466130 to implement this document is extension with rolling averages and creating flags.
Thanks
Vikas Mahajan