Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
Here is production of furniture.
I have in database operations. I can sum total hours needed to make orders for each operations. also i have resources availability per operation ped day.
What i need to do, i need to convert it to matrix like below, where first column is operations, header is days and cells shows how many days for each operation is already occupied.
It means i need to make a calendar (lets say 1-2 moth infront) and according resources availability per day fill all these days with workload.
do somebody have ideas how it could be accomplished?
Hi @froxas ,
What does each cell in the matrix colored represent for?
@froxas
Please add below measure:
I have added a calendar table but not linked to your orders table as you do not provide a date column there. Anyhow, check the following works for you.
You can download the file: HERE
Measure =
VAR DP =
ROUNDUP(
DIVIDE(
SUM(Orders[WorkScope]),
MAX(Operations[ResourcesInHoursPerDay])
),
0
)
VAR D = SELECTEDVALUE('Calendar'[Date])
VAR C =
CALCULATE(
COUNTROWS('Calendar'),
'Calendar'[Date] <= D,
ALL('Calendar')
)
RETURN
IF(
DP < C,BLANK(),C
)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@froxas
Can you share some sample data and the expected result?
You can save your files in OneDrive, Google Drive, or any other cloud sharing platforms and share the link here.
____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?
_____________________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@froxas
You need to have a column in the Orders table for the date that will indicate when each activity took place. This way, you can create a calendar a link with the date to visual in a matrix.
You base measure needs to be modified as :
DaysPlanned =
ROUNDUP(
DIVIDE(
SUM(Orders[WorkScope]),
MAX(Operations[ResourcesInHoursPerDay])
),
0)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon on the right if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.