Forum Discussion
Phoenix_Bird
5 years agoFrequent Visitor
DAX Measure - ALL EXCEPT?
I need to write a DAX measure to return a value of "In" or "Out" for each employee based on the values in the Description fields of relevant rows. Any employee that has a row for "Furlough Pay" n...
- 5 years ago
Hi, Phoenix_Bird
Please check the below for creating a new measure.
New Measure =IF ("Furlough Pay"IN CALCULATETABLE (VALUES ( 'Table'[Category] ),ALLEXCEPT ( 'Table', 'Table'[Employee ] )),"Out","In")Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Jihwan_Kim
5 years agoSuper User
Hi, Phoenix_Bird
Please check the below for creating a new measure.
New Measure =
IF (
"Furlough Pay"
IN CALCULATETABLE (
VALUES ( 'Table'[Category] ),
ALLEXCEPT ( 'Table', 'Table'[Employee ] )
),
"Out",
"In"
)
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM