Forum Discussion
Anonymous
4 years agoNot applicable
How do I create a card based on conditional formatting?
Hi Everyone, I'm looking to take this table I've conditionally formatted and have a card next to it that shows the number of projects that are in the red. Please let me know if this is possible? ...
- 4 years ago
You can iterate over the projects and count which ones satisfy the rule for red.
Roughly like this:
SUMX ( VALUES ( Products[Product] ), IF ( [Hours Remaining] < 0, 1, 0 ) )Modify the condition inside the IF to be whatever matches your rule for highlighting red.
AlexisOlson
4 years agoSuper User
You can iterate over the projects and count which ones satisfy the rule for red.
Roughly like this:
SUMX ( VALUES ( Products[Product] ), IF ( [Hours Remaining] < 0, 1, 0 ) )
Modify the condition inside the IF to be whatever matches your rule for highlighting red.