Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.7
Component:
Views Data
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2013 at 20:24 UTC
Updated:
24 May 2013 at 22:21 UTC
I am trying to create a calculated field based on my webform data that I have made available in views using MySQL views and Data modules. I have a number value that I want to manipulate in other columns but I always get zero if I try to use a replacement pattern, however these fields appear before the global math field and their replacement patterns indicate they are available for use. Any ideas?
Comments
Comment #1
merlinofchaos commentedMake sure they're fully numeric. If they contain things like thousands separators, they'll be interpreted as strings by the math expression parser and that won't work. That's the most likely explanation.
Comment #2
SharonD214@aol.com commentedThanks, I did have a dollar sign. Works great now, thanks!