Forum Discussion
andicornejo12
Helper II
2 years agoRow 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] ) )
Dangar332
Resident Rockstar
2 years agoandicornejo12
Helper II
2 years agohi 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 ago
Resident 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]) ) )