Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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)))

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!