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 Dangar332
Thanks for your reply. I already tried distinctcount. The problem with this, is the second column of my table above. It doesnt give me the total, the total is shown as 1 as well 😞
- andicornejo122 years agoHelper II
hi Dangar332
This is almost perfect.!!! However only works with AWB Number if I substitute AWB number column with AWB version it doesnt work anymore :(.
Is there a way to use this formula to build a table from any column ?? see below first image is AWB number and is perfect, second image though is AWB version instead of AWB number and it doesnt work anymore. I need to have the AWB number in the table
- Dangar3322 years agoResident Rockstar
hi, andicornejo12
not sure but just trynested if
countofid = IF( ISINSCOPE('Table'[awb number]), 1, IF( ISINSCOPE('Table'[awb vers no]), 1,sum('Table'[awb vers no]) ) )