I have three tables: a fact table, a look up table, and a custom date table.
The following formula works correctly when a user selects one period using a slicer from the custom date table, but in reality is should average by the amount of periods selected. How would I do this?
The following formula works correctly when a user selects one period using a slicer from the custom date table, but in reality is should average by the amount of periods selected. How would I do this?
Code:
Metric :=CALCULATE (
SUM ( 'FCT_TABLE'[AMOUNT] ),
'DIM_TABLE'[DESCRIPTION] = "Full-time equivalent"
)