Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Display custom labels in straight table

Hello Experts,

I am new to Qlikview and trying to create a straight table. Here is my requirement,

  

MetricUnique MembersUnique MembersUnique MembersUnique Members
CountryIndiaUSUKAUS
12/07/20148121196
12/08/2014164464118
12/09/2014207574817
12/10/2014166423720
12/11/2014174443918
12/12/2014156433618
12/13/20148926248
12/14/2014822420

9

I want to display country names in second row instead of totals of unique visitors and also I am calculating this unique visitors based on country column

Can anyone help me how to achieve this custom country names

Regards,

Kumar

8 Replies
PrashantSangle

Hi,

Can you provide sample data??

If you have country Name in your table then add it as dimension.

Use Pivot table instead of Straight Table and drag Country Name dimension from vertical to horizontal.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
anbu1984
Master III
Master III

Replace your Unique visitors count for India by this expr

=If(Dimensionality() <>0, India_Unique_Cnt_Expr,'India')

Anonymous
Not applicable
Author

I have almost all 400 countries are there, but in my requirement I want to display only for 4 countries that too without having any list box, static box etc. I am using source as QVD files.

Regards,

Kumar

PrashantSangle

Hi,

Then use calculated Dimension.

Try like

if(wildmatch(Country,'USA','UK'),Country)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Hey Kumar,

Try crosstable while loading the data...

You can refer attached QVW.

Regards,

Nitesh

hariprasadqv
Creator III
Creator III

In a stright table it may not be possible directly. But you can do it in the pivot table easily by drag and drop of fields arranagement.

Not applicable
Author

hI @KUMAR REDDY

You can try in this .You can Swap your table order in the Pivot Table only.

Check this images

1)Normal

1.jpg

2) You Swap Your Dimension While Click on the dimension drag it on the place you want


2.jpg

3)After You can see the Month column has dragged in the images.

3.jpg

This Can Be Done Only In Pivot Table Only.You can try it in the Pivot Table also

Not applicable
Author

Hi,

You can write in Dimension tab below this expression.

=If(Match(Country,'India','US','UK','AUS'),Country)