Forum Discussion

bbeer's avatar
bbeer
Frequent Visitor
5 years ago
Solved

Date hierarchy doesn't work with shared data source

Hi,

 

I have a shared power bi data source and am trying to write a DAX formula utilizing the date hierarchies. 

The measure formula works in the original report, but when I try to create a new similar measure in the new report I get an error on the .[Year]

 

My measure is:

Change % YoY A = IF(
ISFILTERED(
'Date'[ReportingDate].[Year]
),
CALCULATE(
IFERROR(
[A % Change Year], BLANK()
), 
CROSSFILTER(
'Date'[ReportingDate],Revenue[ReportingDate], Both
)
)
)
 
Is it because I'm using a shared data source?
 
Thanks for the help,
bbeer

3 Replies