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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
chrisyan_manalu
Helper II
Helper II

Count flag traffic vehicle based on period

Hi all,

 

I have case to count how many traffic vehicle at building based on period with sample data like this 

chrisyan_manalu_1-1677036942034.png

 

I need to count how many in qty traffic cars at one building while the cars going in, going out and stay at the building until the cars going out from the building

 

I just create sample manual concept in excel how to count every traffic in every period.

There are flag red check to count cars traffic.

If period equal to 01/01/2023 so the traffic is 2 (in)
If period equal to 02/01/2023 so the traffic is 3 (out, stay and in)

If period equal to 03/01/2023 so the traffic is 2 (stay and out)

If period equal to 04/01/2023 so the traffic is 1 (out)

chrisyan_manalu_3-1677037192035.png

How to create dax with this case ? 

 

Please help

 

 

 

 

 

1 REPLY 1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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