Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
techvarun
Specialist II
Specialist II

Straight table Custom dimension and a Value List

Hello Qlixperts,

I have a straight table with two dimensions

Source = 'H'

KPI = ValueList('a','b','c','d','e','f','g','h','i','j','k','l','m')

So my Dimensions looks like below

 

SourceKPI
Ha
Hb
Hc
Hd
He
Hf
Hg
Hh
Hi
Hj
Hk
Hl
Hm

Now i want to achieve the dimensions as below

SourceKPI
Ha
Hb
Hc
Hd
He
Hf
Hg
H/Hh
Hi
Ij
Hk
I/Hl
H/Im

Thanks a lot in advance.

I have attached a sample qvw

10 Replies
Anil_Babu_Samineni

May be this?

=Pick(Match(KPI,'h','i','m')+1,Source,'H/H','I/H','H/I')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
techvarun
Specialist II
Specialist II
Author

Hi Anil,

Since the Fields Source and KPI is not from data model the pick and match is not working as expected

vinieme12
Champion III
Champion III

See this post

Partial Sums in straight table | Custom Labels in Pivot SubTotals

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Kushal_Chawda

what is logic to get the dimension value as expected?

techvarun
Specialist II
Specialist II
Author

I just attached a sample qlikview file.

techvarun
Specialist II
Specialist II
Author

Please check the sample attached

tresesco
MVP
MVP

I am not sure about the utility of this. However, I have tried to get the output (with a not-so meaningful way though).

Capture.PNG

Check if this helps.

techvarun
Specialist II
Specialist II
Author

Thanks Tresesco for the swift reply.

This is to convert some excel reports into qlikview without affecting the table structure.

is it possible to create the columns in dimension itself? the attached solution is not so friendly with my table structure

Thanks,

Varun

omkarvamsi
Creator
Creator

you can achieve this through inline load