Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi All,
I am using a text box which will then change the values in certain places depending on the slicer - this works great
The issue is that I am trying to use a measure that counts the amount of times a certain value shows up and now it comes up with a little icon that its not working (see below).
Here is the formula for the measure - I am ideally wanting it to count multiple values which are "21-30","31-40" & "40+"
Solved! Go to Solution.
@aausten22 , You should in if the values are absolute or Search with OR
HighLeaveBal = CALCULATE(COUNTROWS('Data Set - Leave Liability'),Filter('Data Set - Leave Liability', SEARCH("21-30",'Data Set - Leave Liability'[Total Day Range],,0) ||
SEARCH("31-40",'Data Set - Leave Liability'[Total Day Range],,0) ||
SEARCH("40+",'Data Set - Leave Liability'[Total Day Range],,0)
) )
or
HighLeaveBal = CALCULATE(COUNTROWS('Data Set - Leave Liability'),Filter('Data Set - Leave Liability', 'Data Set - Leave Liability'[Total Day Range],,0) in {"21-30" ,"31-40",' "40+"}
) )
@aausten22 , You should in if the values are absolute or Search with OR
HighLeaveBal = CALCULATE(COUNTROWS('Data Set - Leave Liability'),Filter('Data Set - Leave Liability', SEARCH("21-30",'Data Set - Leave Liability'[Total Day Range],,0) ||
SEARCH("31-40",'Data Set - Leave Liability'[Total Day Range],,0) ||
SEARCH("40+",'Data Set - Leave Liability'[Total Day Range],,0)
) )
or
HighLeaveBal = CALCULATE(COUNTROWS('Data Set - Leave Liability'),Filter('Data Set - Leave Liability', 'Data Set - Leave Liability'[Total Day Range],,0) in {"21-30" ,"31-40",' "40+"}
) )
I went through the data and looks like for that one filter there are no records - how can I get it to display a 0 if there is nothing there?
I have tried both of these and they are both not working.
The first one comes up with the same issue and the second one just errors the whole text box
Thank you for your efforts though!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.