Chart Excel export is all text and an alternative to Valuelist()
I have a requirement to create a YTD vs Previous Year month by month over year comparison for Budget, Actual, and Actual/Budget for Margin and Volume of sales for both results vs actual. I have added a pivot chart, and the dimension I am using Month and two calculated dimensions
My expressions are as below
valuelist('Margin','Volume') = 'Volume',
if (valuelist('Results','Actuals vs.') = 'Results',
And so on for Budget, a bunch of if/else statements... and as you can see, Volume needs to be in one decimal, while Margin is a whole number without decimal. Because I have to format the result within the expression itself, I left the "Numbers" setting of the chart to Expression Default
The results I get in the chart give me what I need, but when the data is exported to Excel, everything is sent as text.
I am SURE there must be a better way of getting the same chart I need without resorting to the valuelist dimension the way I am doing it now, but since I am trying to learn Qlikview by myself without formal training, this is what I came up with
If anyone can provide any suggestions (on both issues - exporting as text, as well as if there is a better way of doing the same thing) I would really appreciate it.
I'm a novice, so I may not be much help, but the only thing I can think of is you can right click on the table and choose export instead of send to excel. You can then choose to export the data in a .csv file which will still open in Excel. This should strip the formatting and send it as numbers instead of text.
Another option (if you can't find a solution) is to convert it to number in excel. All you have to do is highlight the column, click on text to columns in the data tab. Choose "Delimited" and click next. Uncheck any of the delimiters and click next. Click finish. Hope this helps!