Forum Discussion
andicornejo12
2 years agoHelper II
Row Count Sum
Hello Community, I am stuck here. The request is to have a 1 in every row of a table built in the report, but the sum gives the total of those rows. For showing the "1" everywhere, I added a cus...
- 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] ) )
andicornejo12
2 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
Dangar332
2 years agoResident Rockstar
hi, andicornejo12
not sure but just try
nested if
countofid = IF(
ISINSCOPE('Table'[awb number]),
1,
IF(
ISINSCOPE('Table'[awb vers no]),
1,sum('Table'[awb vers no])
)
)