Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Varun511
Helper I
Helper I

Count no of rows in a month with no transactions in table

HI,

 

have a  date table  and fact table ,fact table  granularity is Transaction date have joined date table with transaction date with one to Many relationship 

 

need to Count number process in Fact table and have a date slicer in report for suppose if i select may 1st till May 31st number of process should get 25 but i got 19  because other 6 process dont have any transactions yet but need to show those as well in report

 tried using Calculate(count(process),ALL(Date) but this is completing eliminating date context but want to have date context but need to show all the process even though there is no transactions in fact table any help would be highly appreciated

 

Varun511_0-1655836071178.png

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Varun511 

 

For the "other 6 process dont have any transactions", does it mean that these 6 processes don't have transaction dates? If so, you can try this measure

Process Count = COUNT ( 'Table'[process] ) + CALCULATE ( COUNTBLANK ( 'Table'[Transaction date] ), ALL ( 'Table' ) )

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Varun511 

 

For the "other 6 process dont have any transactions", does it mean that these 6 processes don't have transaction dates? If so, you can try this measure

Process Count = COUNT ( 'Table'[process] ) + CALCULATE ( COUNTBLANK ( 'Table'[Transaction date] ), ALL ( 'Table' ) )

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.