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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Dynamic Customer Facing Days Count based on date Range

Hi Experts

 

See link (sample data)

https://www.dropbox.com/s/aordvy5wxbmzdsg/sample.pbix?dl=0 

 

I want the value in the grey card to cout the number of Customer Facing days based on the date range Seleted - Current it is showing the count for all date periods.

 

For date range Week Start 10.01.2022 to 16.01.2022 i have 4 Customer Facing days 

For date range Week Start 17.01.2022 to 23.01.2022 i have 3 Customer Facing days 

 

irrespective of my Type Selection Criteria

 

Currently the grey box is showing 7 in as a total value and ignore's my data selected range...

 

 

3 REPLIES 3
VIJAYKUMART
Resolver I
Resolver I

hi, i hope this helps
Day Count = CALCULATE(COUNTROWS('FACT Table'),
FILTER(ALLEXCEPT('FACT Table','FACT Table'[Date]),
'FACT Table'[Type] = "Customer Facing Day"))+0
Anonymous
Not applicable

Hi Vijay - the Day count returns zero - which is incorrect

VIJAYKUMART_0-1647141665252.png

 

 

measure for gray color card:VIJAYKUMART_1-1647141665256.png

 

VIJAYKUMART_2-1647141665257.png

 

VIJAYKUMART_3-1647141665262.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors