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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.