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,
I'm struggling to visualize a cumulative line for forecasted work.
My data is as follows:
What I want to to, is to calculate that expected work as of today in a dynamic way bu date, which is a S-Curve or cumulative expected work by dates in the X-Axis as this type of lines below:
Does anybody know how to do that, please?
Thanks in advance!
Solved! Go to Solution.
Try the following measure... Modify it according to your requirement.
Work Status =
VAR WorkTab = ALLSELECTED(WorkTable)
VAR MaxDate = MAXX('Calendar','Calendar'[Date])
VAR WS =
SUMX(
FILTER(
WorkTab,
[Start]<MaxDate),
INT(MaxDate-[Start])
)
RETURN
WS
The calendar does not have any relationship with the other table. It is an independent table used only for taking the max date of each month in your graph based on the context.
Try the following measure... Modify it according to your requirement.
Work Status =
VAR WorkTab = ALLSELECTED(WorkTable)
VAR MaxDate = MAXX('Calendar','Calendar'[Date])
VAR WS =
SUMX(
FILTER(
WorkTab,
[Start]<MaxDate),
INT(MaxDate-[Start])
)
RETURN
WS
The calendar does not have any relationship with the other table. It is an independent table used only for taking the max date of each month in your graph based on the context.
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 |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |