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
funtra513
Regular Visitor

Count how often condition is true on a day

Hello, probably a pretty easy question, but I just can't figure it out for now. I have two tables. One containing production data, e.g. the order number, requirement date and production date. The other one being the date table. In order to create a burndown chart I would like to create a measure telling me how often the the requirement date is smaller than the production date for each specific day. Thank you in advance!
1 REPLY 1
tamerj1
Super User
Super User

Hi @funtra513 

First make sure you have realationship created between date and Production Date comlumn. Then use this measure

Measure =
COUNTROWS (
    FILTER (
        Production,
        Production[Production date] > Production[Requirement date]
    )
)

of course it really depends on what exactly you need to achieve and how your data looks like. Hope this will help. Have a great day

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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