Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Dalton948
Frequent Visitor

Is it possible to filter on more than one condition?

I am having difficulties achieving one aspect with my formula which is adding a second condition on a Filter(All(

TTR(Minutes) = 
VAR _CurrentElement_ID = MAX(sys_journal_field[element_id])
VAR _tbl = FILTER(ALLNOBLANKROW(sys_journal_field, sys_journal_field[Team]),sys_journal_field[element_id]=_CurrentElement_ID || sys_journal_field[Team]="Blue Team")
var _maxDate =MAXX(_tbl,sys_journal_field[sys_created_on])
 
Var _sysID = MAX(Incident[sys_id])
Var _tblb = FILTER(ALL(Incident),Incident[sys_id]=_sysID)
Var _resolvedDate = MINX(_tblb,Incident[resolved_at])
 
Return
DATEDIFF(_maxDate,_resolvedDate,Minute)
 ------------------------------------------------------------------------------------------------------------------------------------------
In the above formula, I am needing the _tbl Variable to match on the specific element ID and also match the specific team name to filter out alot of unwanted data. It seems that multiple conditions are not allowed in this format. Are there any work arounds or suggestions available?
1 ACCEPTED SOLUTION
Dalton948
Frequent Visitor

Changing 

VAR _tbl = FILTER(ALL(sys_journal_field),sys_journal_field[element_id]=_CurrentElement_ID && sys_journal_field[Team]="Blue Team")

Was the solution

View solution in original post

2 REPLIES 2
Dalton948
Frequent Visitor

Changing 

VAR _tbl = FILTER(ALL(sys_journal_field),sys_journal_field[element_id]=_CurrentElement_ID && sys_journal_field[Team]="Blue Team")

Was the solution

Dalton948
Frequent Visitor

This has been solved.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors