Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

how to use in calculated dimension

Dear All,

I have following formula in my set analysis for calculating bucket for >=271 but gives wrong result ,

=SUM(aggr(if((vDateForAgeing - Max({$<StockInOutIndicator={1}>}PostingDate) >=271),

          (Sum({$<FinancialYear=,MonthName=,Quarter=,PostingDate ={"<=$(=(Max(PostingDate)))"}>} Inv_Val))

          )     ,

          Item_Code,Item_Name,[Lot No_],Location_Code))/100000

So I want to use Max({$<StockInOutIndicator={1}>}PostingDate)  in Calculated dimension please can anybody suggest how to use in calculated dimension.

Thanks in adv

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
1 Reply
tresesco
MVP
MVP

try expanding your variable with '$' symbol, like $(vDateForAgeing). If that doesn't help, try to share your sample qvw.