Forum Discussion
rohitjmd
7 years agoHelper II
column dax formula
can anyone help me implementing below in power bi. i want to add a column "inconsideration" where value should be yes if all product type of the product received "good" feedback otherwise it should b...
- 7 years ago
Try this in a calculated column. Substitute 'Table' for your actual table name:
Inconsideration = IF ( CALCULATE ( COUNT ( [Observation] ), 'Table'[Observation] = "Bad", FILTER ( 'Table', [Product] = EARLIER ( [Product] ) ) ) > 0, "No", "Yes" )
hnguy71
7 years agoSuper User
Try this in a calculated column. Substitute 'Table' for your actual table name:
Inconsideration =
IF (
CALCULATE (
COUNT ( [Observation] ),
'Table'[Observation] = "Bad",
FILTER ( 'Table', [Product] = EARLIER ( [Product] ) )
) > 0,
"No",
"Yes"
)