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 agohi, andicornejo12
i think Distinctcount() function work as you want
make a measure
measure =
distinctcount(tablename[awb number])andicornejo12
Helper II
2 years agohi 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 😞