Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Good evening,
I have a simple dax measure..
In sla = if(sum(date x)=(date y),0,1)
This returns a 1 if an item is within sla
I now need a measure to add up all the 1s to collate a total.
I have tried using sumx of the above measure but the total returns 1
Please help.
Hi,
Write a calculated column formula
Test = 1*(Data[Date X]=Data[Date X])
Write this measure
Count = calculate(countrows(Data),Data[Test]=1)
Hope this helps.
Hi @Ianbooth ,
According to your description, here are my steps you can follow as a solution.
(1) We can create a measure.
Total = COUNTROWS(FILTER(ALL('Table'),'Table'[In sla]=1))
(2) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you. What fact doesn't seem to work? And what is the item ?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!