Forum Discussion
Help with Dax formula for Matrix
- 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
Try either this:
ActCnt =
CALCULATE (
SUM('qry_Employees'[SumOfValue]),
FILTER (
ALLSELECTED('qry_Employees'[Date], 'qry_Employees'[Division]),
'qry_Employees'[Metric_Code] IN { "ActCnt" }
)
)
Or this
ActCnt =
CALCULATE (
SUM('qry_Employees'[SumOfValue]),
FILTER (
ALLSELECTED('qry_Employees'),
'qry_Employees'[Metric_Code] IN { "ActCnt" }
)
)
Neither one works. The first gives an error and the second gives me the 20K total again.
- themistoklis5 years ago
Community Champion
best if you send a sample file to us... mask any sensitive data..
also it would be great if you provide the correct output on a table
- rbartlejr5 years ago
Helper III
There is a link to the data in the original post. It has the Access database with all of the tables and queries. No sensitive information is included. As for what I'd like to see it would look like this:
Date Date ............
3/14/2020 3/21/2020
Division ESD 157 157 ............
FMS 227 227 ............
- themistoklis5 years ago
Community Champion
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