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.
Hi all,
I have case to count how many traffic vehicle at building based on period with sample data like this
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)
How to create dax with this case ?
Please help
@chrisyan_manalu , refer if this approach can help
Measure way
Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM
Power BI: HR Analytics - Employees as on Date : https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Tables way
https://amitchandak.mediumcom/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b
https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |