Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We are migrating from View to Sense and have some issues.
This issue popped up today:
I have calculating Expressions in Qlikview but they dont seem to work as a Calculating Measure in Sense?
See here:
Definition of Expression in Qlikview(It works perfectly)
=
// a
If( ( Sum([HARVESTDECLARATIONSPERHARVESTSTATUS COUNT PER FARMVAR])=1 and [HD HARVEST STATUS]='NO' ) , Sum([ACTUALEXPORTEDDIPARPERVAR CARTONS])*Sum(HA) /Sum( [CITRUSBUDGETPERVAR HA] ) ,
// c
If( ( Sum([HARVESTDECLARATIONSPERHARVESTSTATUS COUNT PER FARMVAR])=1 and [HD HARVEST STATUS]='YES' ) , Sum([ACTUALEXPORTEDDIPARPERVAR CARTONS])*Sum([HD TOTAL HARVEST])/Sum([HARVESTDECLARATIONSPERVAR TONNES] ) ,
// b
( Sum( {<[HD HARVEST STATUS]={'YES'}>} [HD TOTAL HARVEST CARTONS]) )
+
(
( Sum([ACTUALEXPORTEDDIPARPERVAR CARTONS]) - Sum([HARVESTDECLARATIONSPERVARSTATUS CARTONS]) )
*
( ( Sum( {<[HD HARVEST STATUS]={'NO'}>} [Werklike ha Produksie]) ) / ( ( Sum([HARVESTDECLARATIONSPERVAR HECTARES]) - Sum([HARVESTDECLARATIONSPERVARSTATUS HECTARES]) ) ) )
)
))
This however does not work as a measure in Sense.
Please advise
Hi Werner,
The function seems to be good, although you have some '( )' that could be removed and would make it easier to read also.
Jordy
Climber
Hi,
I do have everything in order as you mentioned.
Even at the bottom of the Expression it says Expression is OK.
So I don't know why it is not working.
Thank you for your reply