Forum Discussion
Row Count Sum
- 2 years ago
hi andicornejo12 ,
Please use this measure, replace it with your column. If there are other columns in your visual, might need to modify measure. Ignore the custom column in second screenshot(not required).
MCount =IF(HASONEFILTER( TestTbl4[AWBNo] ), 1, COUNT( TestTbl4[AWBNo] ) )
hi andicornejo12 ,
Please use this measure, replace it with your column. If there are other columns in your visual, might need to modify measure. Ignore the custom column in second screenshot(not required).
hi talespin
Thanks again for your help.
Your formula almost works is showing a one and the total.
However, the request is a bit more complicated, in my example I used AWB Number but the request is that row count should work with any column in the table. See with AWB version below, is not working anymore (your solution is RowCount1 in red)
- talespin2 years agoSolution Sage
hi andicornejo12 ,
"However, the request is a bit more complicated, in my example I used AWB Number but the request is that row count should work with any column in the table."
Are the columns from same table or can be from different table?
Try this if columns in visual are from same table. Test the total count.
IF( ISFILTERED(TestTbl4), 1, COUNT( TestTbl4[AWBNo] ) )- andicornejo122 years agoHelper II
hi talespin
I appreciate so much the follow up. Thank you!!
However this formula is giving me teh same result as the previous one, a one in each row with a total but if I bring in AWB version instead of AWB number is not working anymore. I need to have AWB number in the table 😞
- talespin2 years agoSolution Sage