Forum Discussion
Berrcikk
3 years agoFrequent Visitor
Calculation to filter Data
Hi all, Currently I'm working on to add additional filters/columns, to provide information how a certain case should be treated. What I need to do, is to classify a certain case, if it should be...
- 3 years ago
Try these calculated columns:
IS Case Active = VAR vCase = Table1[CASE] VAR vToday = TODAY () VAR vTable = FILTER ( Table1, Table1[CASE] = vCase && Table1[DAY] = vToday ) VAR vResult = IF ( ISEMPTY ( vTable ), 0, 1 ) RETURN vResultIS Case Closed = IF ( Table1[IS Case Active] = 1, 0, 1 )
DataInsights
3 years agoSuper User
Try these calculated columns:
IS Case Active =
VAR vCase = Table1[CASE]
VAR vToday =
TODAY ()
VAR vTable =
FILTER ( Table1, Table1[CASE] = vCase && Table1[DAY] = vToday )
VAR vResult =
IF ( ISEMPTY ( vTable ), 0, 1 )
RETURN
vResultIS Case Closed = IF ( Table1[IS Case Active] = 1, 0, 1 )
- Berrcikk3 years agoFrequent Visitor
Thanks! Works out perfectly