Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, friends.
I have an expression...
(Rangesum(above(total Sum({$<[Séria]={Účtovníctvo}>}Čiastka),0,RowNo(total))))/(Rangesum(above(total Sum({$<[Séria]={Plán}>}Čiastka),0,RowNo(total))))
... which works correctly and I need to add a filter for dimension Obdobie <= UZAVRENEOBDOBI, where UZAVRENEOBDOBI is a dimesion. Both of dimensions OBDOBI and UZAVRENEOBDOBI have format Date, UZAVRENEOBDOBI has one record with value 1.5.2014 0:00:00.
I tried:
(Rangesum(above(total Sum({$<[Séria]={Účtovníctvo},[Obdobie]<={max(UZAVRENEOBDOBI)}>}Čiastka),0,RowNo(total))))/(Rangesum(above(total Sum({$<[Séria]={Plán},[Obdobie]<={max(UZAVRENEOBDOBI)}>}Čiastka),0,RowNo(total))))
or
(Rangesum(above(total Sum({$<[Séria]={Účtovníctvo},[Obdobie]={<=max(UZAVRENEOBDOBI)}>}Čiastka),0,RowNo(total))))/(Rangesum(above(total Sum({$<[Séria]={Plán},[Obdobie]={<=max(UZAVRENEOBDOBI)}>}Čiastka),0,RowNo(total))))
or
(Rangesum(above(total Sum({$<[Séria]={Účtovníctvo},[Obdobie]={'<=max(UZAVRENEOBDOBI)'}>}Čiastka),0,RowNo(total))))/(Rangesum(above(total Sum({$<[Séria]={Plán},[Obdobie]={'<=max(UZAVRENEOBDOBI)'}>}Čiastka),0,RowNo(total))))
No data.
Can you help me, pls. ?
Thanx in advance.
Duski
Hi,
try with
[Obdobie]={'<=$(=max(UZAVRENEOBDOBI))'}
or
[Obdobie]={'<=$(#=max(UZAVRENEOBDOBI))'}
greeting
IB
Hi,
try with
[Obdobie]={'<=$(=max(UZAVRENEOBDOBI))'}
or
[Obdobie]={'<=$(#=max(UZAVRENEOBDOBI))'}
greeting
IB
Thank you, Irene.
No data for both formulas :-(.
Maybe the problem is date format ?
Thanx in advance
Duski
Edit1:
I tried also:
(Rangesum(above(total Sum({$<[Séria]={Účtovníctvo},[Obdobie]={'<=$(=max(date(UZAVRENEOBDOBI)))'}>}Čiastka),0,RowNo(total))))/(Rangesum(above(total Sum({$<[Séria]={Plán},[Obdobie]={'<=$(=max(date(UZAVRENEOBDOBI)))'}>}Čiastka),0,RowNo(total))))
or
(Rangesum(above(total Sum({$<[Séria]={Účtovníctvo},[Obdobie]={'<=$(#=max(date(UZAVRENEOBDOBI)))'}>}Čiastka),0,RowNo(total))))/(Rangesum(above(total Sum({$<[Séria]={Plán},[Obdobie]={'<=$(#=max(date(UZAVRENEOBDOBI)))'}>}Čiastka),0,RowNo(total))))
No data 😞
Duski
Edit2:
After restart of machine and QV I noticed, that the first formula works 🙂
Thank you once more, Irene.
Over.
Duski