Forum Discussion
danielpaduck
2 years agoHelper III
Conditional Measure Is Not Totaling Correctly
Hi, I have the following report for test: I have regular hours, then forecasted hours (regular x 2) and then a conditional measure that states the following: Hours (Conditiona...
- 2 years ago
you can try, assuming you have the values in different tables. But it is as TomMartens says, without the data model we cannot give an accurate answer.
SUMX(FILTER(TableHour,TableHour[date] >= 201901 && TableHour[date] <= 201901),TableHour[hour])+SUMX(FILTER(TableHourF,TableHourF[date] > 201901),TableHourF[hour])
danielpaduck
2 years agoHelper III
Hi,
The following is my data model:
Essentially, what I am trying to accomplish is to show posted labor hours until a certain period and then after that period show the budget/forecasted hours. There are three tables - CFGDates which contains the Period, LD Actual and LD Forecast. It seems on the total, Power BI does not have the Period filter anymore and then defaults to Actual hours.
bestevezdyb
2 years agoFrequent Visitor
Have you tried the measure I have provided?
- danielpaduck2 years agoHelper III
I will try today but the periods will need to be more dyamic instead of hard coding period ranges. Thanks!