Forum Discussion
SWITCH CASE - Using Array List for Conditional Calculation
Hello there,
i'm writing a Dax Measure in Order to do an conditional Calculating at the Item Ledger Entry of articles.
I have 3 amounts with article numbers to do a different calculation.
The Switch Case will proof the number and based on that the SUM of the Ledger Entry will be divided with 9, 11 or 15
Till now my Code is like this
Measure =
Hi Power-CJ ,
Does the "IN" operator work in your case?
Here an example:
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
2 Replies
- tackytechtomMost Valuable Professional
Hi Power-CJ ,
Does the "IN" operator work in your case?
Here an example:
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/ - Power-CJHelper I
Hello Tom,
thanks for the quick Response.
There Where you placed 'Table'[Order] I only can place Measure and no Columns of Table.
But when i set the function SELECTEDVALUE() in front of the column it will work.
thanks a lot