Forum Discussion
Average Line for Line and Stack Chart
Anonymous thank you for the suggestion. However, I am still getting the same issue of Column 'Incidental Findings Note Type Compliance' in table 'Incidental Findings Note' cannot be found or may not be used in this expression. Here is the measure I used:
Hi ranis1227 ,
It seems that there are 2 tables!
Please change the measure. Put the 'table1(2)' date into the slicer.
measureAverage =
VAR _1 =
MAXX ( ALLSELECTED ( 'Table1 (2)' ), 'Table1 (2)'[Date Signed] )
VAR _2 =
MINX ( ALLSELECTED ( 'Table1 (2)' ), 'Table1 (2)'[Date Signed] )
RETURN
CALCULATE (
AVERAGE ( 'Incidental Findings Note'[Incidental Findings Note Type Compliance] ),
FILTER (
ALL ( 'Incidental Findings Note' ),
'Incidental Findings Note'[date] <= _1
&& 'Incidental Findings Note'[date] >= _2
)
)
And make sure there is no relationship between the tables.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.