Forum Discussion
rbartlejr
5 years agoHelper III
Help with Dax formula for Matrix
I'm having an issue with a DAX formula. I've tried using the FILTER function but I just can't get it correct (I'm still very novice with DAX). I have a database in Acess that comes from an Excel repo...
- 5 years ago
Could you please have a look at the following link and let me know if this is what you would like to see?
https://www.dropbox.com/s/lovggqivwownchj/PowerBI_data.pbix?dl=0
rbartlejr
5 years agoHelper III
Sorry,
It doesn't give the correct value. It comes up as 20295 for each week and division.
themistoklis
Community Champion
5 years ago
I think i used the wrong function. Try the following
ActCnt =
CALCULATE (
SUM('qry_Employees'[SumOfValue]),
FILTER (
ALLSELECTED('qry_Employees'[Date], 'qry_Employees'[Division]),
'qry_Employees'[Metric_Code] IN { "ActCnt" }
)
)