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! Learn more
Hi everyone,
I have a table that I'm trying to count if between two numbers. See the code below. The code is looking to count each row if a rate is greater than or equal to 4 and less than or equal to 5.
However, what seems to be returning is, everything less than or equal to five, not inbetween.
# of Employees at or below 5 = 
CALCULATE (
    COUNTROWS ( 'Current' ),
    FILTER ( 'Current', 'Current'[Rates] <= 4 >= 5 )
)
Solved! Go to Solution.
Hi @Anonymous ,
Try this one:
CALCULATE (
COUNTROWS ( 'Current' ),
FILTER ( 'Current', 'Current'[Rates] >= 4  &&  'Current'[Rates] <= 5 )
)
Did I answer your question? Mark my post as a solution!
Ricardo
Thank you for the quick check!!!! Appreciate it, it worked.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.