Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need help.
I currently have this kind of data (green cells). I would need to add a new column that would contain the value "yes" if there is at least one "yes" for a given order.
I hope you understand me.
How can I do that?
MC
Solved! Go to Solution.
try to write like this
Column =
VAR _order = 'Table'[order]
VAR _RESULT =
CALCULATE (
COUNTROWS (),
FILTER (ALL ( 'Table' ),
'Table'[order] = _order
&& 'Table'[something] = "yes")
)
RETURN
IF ( _RESULT = 1, "YES", "NO" )
try to write like this
Column =
VAR _order = 'Table'[order]
VAR _RESULT =
CALCULATE (
COUNTROWS (),
FILTER (ALL ( 'Table' ),
'Table'[order] = _order
&& 'Table'[something] = "yes")
)
RETURN
IF ( _RESULT = 1, "YES", "NO" )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |