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: 
siddharth_s3
Partner - Creator II
Partner - Creator II

Set analysis on satisfying 2 conditions

The below dimension works, however, I want to edit the dimension for 2 conditions.

1) Show Voucher_ID when the value 1 is not equal to 0 (this works)

OR

2) Show Voucher_ID when value 2 is greater than 0 (not sure how to incorporate)

 

 

AGGR(ONLY({<Voucher_ID={"=ROUND($(=$(vExpr_REPO_TxableExpenseRevenue))-$(vExpr_GL_Total_Expense_Revenue|Total_Error))<>0"}>} Voucher_ID),Voucher_ID)

 

 

 

 Basically, the above condition should also satisfy, when 

$(vExpr_GL_Total_Expense_Revenue|Total_Error))>0

satisfies too.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

May be this

Aggr(Only({<Voucher_ID = {"=Round($(=$(vExpr_REPO_TxableExpenseRevenue))-$(vExpr_GL_Total_Expense_Revenue|Total_Error)) <> 0 or $(vExpr_GL_Total_Expense_Revenue|Total_Error)) > 0"}>} Voucher_ID), Voucher_ID)

View solution in original post

3 Replies
siddharth_s3
Partner - Creator II
Partner - Creator II
Author

Bump. Anyone.

@sunny_talwar . Could you please help?

sunny_talwar

May be this

Aggr(Only({<Voucher_ID = {"=Round($(=$(vExpr_REPO_TxableExpenseRevenue))-$(vExpr_GL_Total_Expense_Revenue|Total_Error)) <> 0 or $(vExpr_GL_Total_Expense_Revenue|Total_Error)) > 0"}>} Voucher_ID), Voucher_ID)
siddharth_s3
Partner - Creator II
Partner - Creator II
Author

Sorry for the late reply. I saw your reply in another post and that had answered it. 🙂