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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Maxime_leroy
Frequent Visitor

[Need Help ] get the sum of three query filtered by date and a boolean value

hello ,  i'm new in powerbi and i'm stuck on basic dax query ๐Ÿ˜• . I have three actions with a limit date and a state (true if it's done and false if it's not) , i would like to get the number of late actions so it need to be the sum of action 1 , 2 and 3 where the state is false and the date limit is < to the day.

in power apps i get the value with :
((state action 1 = false && 'date action 1' - Today() < 0 ) + (state action 2 = false && 'date action 2' - Today() < 0 ) ) + (state action 3 = false && 'date action 3' - Today() < 0 ) 

i've try thing like : 

action en retard = SUM(Filter(QualityAlerts,QualityAlerts[state action 1] = false && QualityAlerts[Date Action 1] - TODAY() < 0)

but it tell me that sum fonction only accept to refer to a colum as argument .
if anyone could give me some tips it will save me ^^ 

2 REPLIES 2
amitchandak
Super User
Super User

@Maxime_leroy ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Maxime_leroy_0-1614171421939.png

here the numbre to display will be 5
Capture 3.PNG

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)