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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello,
I am trying to count rows of a related table , but only if the related table has more than 1 record. Here is my formula,
Solved! Go to Solution.
Hey @lcasey ,
you can just return BLANK if the number is 1 or smaller. Try the following calculated column:
Launched Accounts =
VAR vRowsRelated =
CALCULATE(
COUNTROWS(
RELATEDTABLE( Cases )
)
)
RETURN
IF(
vRowsRelated > 1,
vRowsRelated,
BLANK()
)
Hey @lcasey ,
you can just return BLANK if the number is 1 or smaller. Try the following calculated column:
Launched Accounts =
VAR vRowsRelated =
CALCULATE(
COUNTROWS(
RELATEDTABLE( Cases )
)
)
RETURN
IF(
vRowsRelated > 1,
vRowsRelated,
BLANK()
)
Thank You!
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 99 | |
| 56 | |
| 38 | |
| 37 |