Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
shiveshsingh
Master
Master

Dimensionality Code

Please help me in understanding below code line by line and also logic of putting Total<>,Total<>,Total<>,Total<> in numr and denominator

Pick(Dimensionality()+1,

1,

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=, ,,,=p()>}$(Value))

/

Sum(TOTAL {<PeriodType={'$(Period)'},=,=,,,=p()>}$(Value)),

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=,,,=p()>}$(Value))

/

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=,=,,,=p()>}$(Value)),

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=,,=p()>}$(Value))

/

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=,=,,,,=p()>}$(Value)),

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=,=p()>}$(Value))

/

Sum(TOTAL <>

{<PeriodType={'$(Period)'},=,=,,,,=p()>}$(Value)))

Labels (1)
1 Solution

Accepted Solutions
kristof_j
Creator III
Creator III

Maybe this will help

What does the TOTAL qualifier do?

If you add a dimension to your total then you calculate the total on each value of that dimension.

In the article above if you write 'total <City>' then you'll get for:

  • Berlin always 5 (the total)
  • London always 6
  • Paris always 7

View solution in original post

2 Replies
kristof_j
Creator III
Creator III

Maybe this will help

What does the TOTAL qualifier do?

If you add a dimension to your total then you calculate the total on each value of that dimension.

In the article above if you write 'total <City>' then you'll get for:

  • Berlin always 5 (the total)
  • London always 6
  • Paris always 7
shiveshsingh
Master
Master
Author

Thanks, got it!