Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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 |
|---|---|
| 50 | |
| 39 | |
| 29 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 38 | |
| 21 | |
| 20 |