March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
Currently I have a table ("Projects") with the following values
I am interesting in knowing the effort per each day of the year, so I have created another table ("Calendar") with the following values
"Date" column is calculated with the following formula
Calendar = CALENDAR(DATE(2022,01,01),DATE(2022,11,01))
"Number of projects" with the following formula:
Number of projects = COUNTROWS(
FILTER(Projects,Projects[Start Date]<='Calendar'[Date] && Projects[Finish Date]>='Calendar'[Date]))
Effort = CALCULATE(
SUM(Projects[Effort per day]),Projects[Start Date]<='Calendar'[Date],Projects[Finish Date]>='Calendar'[Date])
Solved! Go to Solution.
@Anonymous
Can you try this way?
Effort =
SUMX (
FILTER (
Projects,
Projects[Start Date] <= 'Calendar'[Date]
&& Projects[Finish Date] >= 'Calendar'[Date]
),
Projects[Effort per day]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi,
For values which last a certain amount of time you can use the following DAX pattern:
Proud to be a Super User!
Hello,
I think this is a Measure, and my idea was adding a new column. I am not able to put this in a column.
Thanks anyway
@Anonymous
Can you try this way?
Effort =
SUMX (
FILTER (
Projects,
Projects[Start Date] <= 'Calendar'[Date]
&& Projects[Finish Date] >= 'Calendar'[Date]
),
Projects[Effort per day]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thanks! It is correclty working
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
15 | |
7 | |
6 |
User | Count |
---|---|
33 | |
29 | |
16 | |
13 | |
12 |