Forum Discussion
Saranya_Tamil
3 years agoFrequent Visitor
Need help in DAX
I need to figure out whether the Deal is a S4U or not. The logic is if other than S4U in 'Name' field has S4U as family then it is a S4U deal. For ex, here 1 is not S4U bcz other than S4U no one ...
- 3 years ago
Add this as a second Calculated Column:
Output = SWITCH( TRUE(), CALCULATE( SUM([S4UDeal] ), ALLEXCEPT( 'Deals (2)', 'Deals (2)'[Deal] )) > 0, "Yes", "No" )If you want, you can probably combine both into just one column.
Regards,
rsbin
3 years agoCommunity Champion
Add this as a second Calculated Column:
Output = SWITCH(
TRUE(),
CALCULATE( SUM([S4UDeal] ),
ALLEXCEPT( 'Deals (2)', 'Deals (2)'[Deal] )) > 0, "Yes",
"No" )
If you want, you can probably combine both into just one column.
Regards,
Saranya_Tamil
3 years agoFrequent Visitor
Thank you rsbin , it works 🙂