Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a resource table with the following fields:
From this, i want to create a chart and table that shows their allocation by month (or week, or day). How can i convert the table above to something suitable for me to chart?
Hi, yes it is similar, but instead of counting rows i need to sum the "percentage allocation" field.
@PhilJuniper , seem like similar to HR and between date problem
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...
Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: https://youtu.be/fvgcx8QLqZU
Thanks.
From the links i found the info i needed.
Create a date table:
Date =
ADDCOLUMNS (
CALENDAR ( DATE ( 2023, 01, 01 ), DATE ( 2026, 12, 31 ) ),
"Month no", MONTH ( [date] ),
"Year", YEAR ( [date] ),
"Month Year", FORMAT ( [date], "mmm-yyyy" ),
"Qtr Year", FORMAT ( [date], "yyyy-\QQ" ),
"Month year sort",
YEAR ( [date] ) * 100
+ MONTH ( [date] ),
"Qtr", QUARTER ( [date] ),
"Month", FORMAT ( [Date], "mmmm" ),
"Month sort", MONTH ( [Date] )
)
Then added a column to the date table that calculates the allocation by day:
Allocation =
SUMX (
FILTER (
ResourceTable,
ResourceTable[Start date] <= MAX ( 'Date'[Date] )
&& ResourceTable[End date] >= MAX ( 'Date'[Date] )
),
[Allocation]
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
121 | |
76 | |
46 | |
44 | |
34 |
User | Count |
---|---|
180 | |
85 | |
68 | |
47 | |
46 |