Forum Discussion
labuser1235
Helper IV
6 years agoCumulative count with Blanks
Hi All, I want the cumulative values where I was want to include blanks in the count. I had tried && where it counts blanks as well yet it doesnt work. As per the countrows it should start from 8...
- 6 years ago
Hi labuser1235 ,
Try this:
Count = CALCULATE ( COUNTROWS ( Table1 ), FILTER ( ALLSELECTED ( Table1 ), Table1[Date Sold] >= MIN ( DateTable[Date] ) ) ) + CALCULATE ( COUNTBLANK ( Table1[Date Sold] ), ALL ( Table1 ) )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- 6 years ago
Thank you so much Icey . I have tried another way too which worked as well.
Count = CALCULATE ( COUNTROWS ( Table1 ), FILTER ( ALLSELECTED ( Table1 ), Table1[Date Sold] >= MIN ( DateTable[Date] ) || ISBLANK(TABLE1[DATE Sold]) ) )
Icey
Community Support
6 years agoHi labuser1235 ,
Try this:
Count =
CALCULATE (
COUNTROWS ( Table1 ),
FILTER ( ALLSELECTED ( Table1 ), Table1[Date Sold] >= MIN ( DateTable[Date] ) )
)
+ CALCULATE ( COUNTBLANK ( Table1[Date Sold] ), ALL ( Table1 ) )
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- labuser12356 years ago
Helper IV
Thank you so much Icey . I have tried another way too which worked as well.
Count = CALCULATE ( COUNTROWS ( Table1 ), FILTER ( ALLSELECTED ( Table1 ), Table1[Date Sold] >= MIN ( DateTable[Date] ) || ISBLANK(TABLE1[DATE Sold]) ) )