The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I have two tables, a date table and an table with date ranges.
DateTable:
DATE Table |
01/01/2023 |
01/02/2023 |
01/03/2023 |
01/04/2023 |
Item Date Range Table:
ITEM | FROMDATE | TODATE |
ITEM-A | 01/01/2023 | 01/02/2023 |
ITEM-B | 01/01/2023 | 01/04/2023 |
ITEM-A | 01/01/2023 | 01/04/2023 |
I would like to create a measure, that I can use along with the DATE Table, to get a count of items that could produce the following results.
DATE Table | Measure Val for Item-A |
01/01/2023 | 2 |
01/02/2023 | 2 |
01/03/2023 | 1 |
01/04/2023 | 1 |
Thanks in advance.
Solved! Go to Solution.
@gabereal , Refer if one of the two approaches can help
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...
@amitchandak Ended up using the second example to implement the desired result.
@gabereal , Refer if one of the two approaches can help
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...
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |