Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi experts,
looking for some help, apologies in advance as i am new to qlik!
im pulling data from a excel file(attached) and i need to do 2 simple line graphs showing the % of selections in field "mode" and "c" was used in a certain week. However its not showing up with the correct %'s and i cant understand why?
im using the wk-YY field as my x-axis in my line graphs. i used the expression "count( [Mode])/count(total "values")" and it works for a single week of data:
but once i select numerous weeks, the line graphs dont have the correct %,(notice the different % for week 2021-15):
any help in getting the correct formula to show the total % of each mode and C type in a graph per week would be really appreciated
thanks
You want to divide by the total per week, not the overall total. So your expression should be:
count( [Mode])/count(total <[Wk-YY]> "Values")
-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com
You want to divide by the total per week, not the overall total. So your expression should be:
count( [Mode])/count(total <[Wk-YY]> "Values")
-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com