title: using RenderFormat.IsInteractive in SSRS query
body: <p>I am creating a SSRS report where I require to call different queries based on some condition. mainly with <code>Globals!RenderFormat.IsInteractive</code>.
  If <code>Globals!RenderFormat.IsInteractive</code> is true call 1st query block otherwise other query block.<br/>
  In query itself it is not possible to create <code>IF</code> condition using Globals!RenderFormat.IsInteractive. so I tried creating report variable and parameter with default value of <code>Globals!RenderFormat.IsInteractive</code> but both giving error of <code>query refers to the global variable RenderFormat, which is not valid for this type of report item expression</code>.<br/>
  Is there any workaround for it?</p>