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.
Hello Power BI Community,
I am relatively new to Power BI. I'm about 3 weeks in now and learning fast. What an amazing tool!
I'm trying to create a measure to count the number of instances with two conditions. One condition is that it containts the word "PENDING" in one column and prior to 2019 for the date.
This is what I have:
Solved! Go to Solution.
@MatthewFiero
Try it this way:
WIP =
CALCULATE(
COUNTROWS(FAST),
FILTER(
FAST,
FAST[Claim Status] = "PENDING" && FAST[Create Date] < DATE(2019,01,01)
)
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@MatthewFiero
Try it this way:
WIP =
CALCULATE(
COUNTROWS(FAST),
FILTER(
FAST,
FAST[Claim Status] = "PENDING" && FAST[Create Date] < DATE(2019,01,01)
)
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Fowmy ,
Thank you for such a quick response. What if the claim status only contains the word "PENDING"? In my case there are multiple different pending status.
I had no idea you could use the && function like that which should be very helpful in the future!
Thank you,
Matthew
@MatthewFiero
The DAX that I shared will only take into account if the value is only "Pending".
Hope the solution works for you
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Looks like this may work except I have 1 extra value for some reason (I'll have to check the data)
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.