Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Is there a way to create table like this on Qlikview.
I need to be able to show the count Total and % Total of this table [i.e. the last two rows]. Is this achievable?
Many Thanks
Kozan
Name | Week 1 | Week 2 | Week 3 | Grand Total |
---|---|---|---|---|
Steve | 50 | 50 | 100 | 200 |
John | 80 | 85 | 65 | 230 |
Emily | 20 | 60 | 80 | 160 |
Grand Total | 150 | 195 | 245 | 590 |
Grand Total [%] | 25% | 33% | 42% | 100 % |
Check the attached
Hello, Kozan!
You can create two similar tables with different calculation of totals and place them one under the other.
Hi this is exactly what I am looking for.
Can you explain the purpose of "dim". I don't have this value and can't figure out why you have included this in your expressions.
Cheers
Dim is created as an Inline table and is not connected to anything in your database... This is basically used to create the two Grand Total rows
Pick(Dim, Name, 'Grand Total', 'Grand Total [%]')
So, when Dim = 1, Dimension is Name
when Dim = 2, Dimension is 'Grand Total'
when Dim = 3, Dimension is 'Grand Total [%]'
If you use the pick, you can lose performance.
You can use text objects at the place of each field.
Is that based on testing or you just think that Pick will reduce performance?
Also, what happens if you select a single name here? Emily... would the total % go up or down
Nice Paulo
It's real,
I already tested it in an application.
I used as pick as separated expressions... There is a lot of difference.(But I don't know explain the reasons why kkkk)
"Also, what happens if you select a single name here? Emily... would the total % go up or down"
-The total field don't move
Would you be able to share an example where you can show the performance difference between your proposed solution vs pick() method?