Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In pivot table I will have Country , State Line Amt. I need to show the % using subtotal values in qliksense
Country | State | Line Amt | % |
---|---|---|---|
India | Delhi | 30 | 30% ( (30/100)*100 |
Punjab | 40 | 40% | |
Haryana | 30 | 30% | |
US | LA | 25 | 25% |
CA | 25 | 25% | |
New York | 50 | 50% | |
Total | 200 | -- |
I am looking something similar to Line Amt / Sum(Line Amt) Group By Country.
Try this:
Sum([Line Amt])/Sum(TOTAL <Country> [Line Amt])