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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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