Forum Discussion
Anonymous
5 years agoNot applicable
Difference between VALUES(Date[Month]) and VALUES(Date[Day])
For context, please see previous question I have DAX that calculates the YTD average on an ongoing basis of a measure (see below and previous question for more detail): where the blue...
- Anonymous5 years ago
I actually managed to solve my issue! By using the following DAX code:
IF( ISFILTERED('Date Table'[Datekey]), ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."), TOTALYTD([Monthly Reliability], 'Date Table'[Datekey].[Date]) )
Anonymous
5 years agoNot applicable
I actually managed to solve my issue! By using the following DAX code:
IF(
ISFILTERED('Date Table'[Datekey]),
ERROR("Time intelligence quick measures can only be grouped or filtered by the Power BI-provided date hierarchy or primary date column."),
TOTALYTD([Monthly Reliability], 'Date Table'[Datekey].[Date])
)