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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Krijgersss
Helper II
Helper II

need help with a count till today

Hello i need some help i want to count rows till todays date

i now use 

Aantal rijen open dagen = DISTINCTCOUNTNOBLANK('newfysic warehouse_open'[date]) but this count rows and if i use a slicer i dont work i want that count but than till todays date so if we are going to tommorow it wil count till tomorow so i can make a future calculation based on 

revenu per day = revenu / days open 
 
and then 

future calculation = revenu per day * count days untill today






1 ACCEPTED SOLUTION
govindarajan_d
Super User
Super User

Hi @Krijgersss ,

 

Can you try like this: 

CALCULATE(DISTINCTCOUNTNOBLANK('newfysic warehouse_open'[date]),'newfysic warehouse_open'[date] < TODAY())

 

View solution in original post

1 REPLY 1
govindarajan_d
Super User
Super User

Hi @Krijgersss ,

 

Can you try like this: 

CALCULATE(DISTINCTCOUNTNOBLANK('newfysic warehouse_open'[date]),'newfysic warehouse_open'[date] < TODAY())

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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