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
I have a filter and want to display count of rows returned after search. but im not able to figure out how to write condition if blank is returned from count rows
Total Rows = IF(ISFILTERED ('table'[Search]),COUNTROWS('table') & " customer match(es) found.", "No customer match(es) found.")
before any search is performed im displaying below
Solved! Go to Solution.
Hi,
Try using ISBLANK. So something like this:
Total Rows = IF(ISFILTERED ('table'[Search]),
IF(ISBLANK(COUNTROWS('table') ), "No customer match(es) found.",
COUNTROWS('table') & " customer match(es) found.", "No customer match(es) found."))
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
@ValtteriN
Too many arguments were passed to the IF function. The maximum argument count for the function is 3.
im getting above error when i use the dax
@sanjanarama There was a problem with the brackects. Here is the modified verison:
Proud to be a Super User!
I'm sorry "Too many arguments were passed to the ISBLANK function. The maximum argument count for the function is 1."
this is error im seeing
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |