view a: I am populating the view as a single result with views calc.
view b: I am populating second view as a single result with views calc.

and I need a field of view_a - view_b. is it possible for this module? what else module can do this?

Comments

pasqualle’s picture

this module can only display a view, no other operation..

I do not know, if the view result is really just a simple value, then
print $view1 - $view2; might work, so I do not think that you will find a module for that..

but you need to be sure the $view1 only contains the value, which I think will require views theming, or you can use
print strip_tags($view1) - strip_tags($view2);

edib’s picture

can we reach a view with a $name_of_view parameter?

pasqualle’s picture

Status: Active » Closed (won't fix)

As I see, if you need $view1 - $view2 then you should not use views. As views modules is for listing content. There must be an easier way to achieve what you want.