Forum Discussion
Measure returning same value for all row
- 2 years ago
BidyaSingha - This looks to be a relationship issue. Is the "Status" colomn in a separate table? If Yes, you need to create a relationship between EmployeeAvailability and the table containing "Status"
If No, and you only have one table then I would try:
CALCULATE( DISTINCTCOUNT(EmployeeAvailability[EmployeeCode]), KEEPFILTERS( EmployeeAvailability[ShortTermBench]<>BLANK()))If either of these work, please accept as the solution, if they do not, please share more information about your semantic model and perhaps some sample data.
BidyaSingha - This looks to be a relationship issue. Is the "Status" colomn in a separate table? If Yes, you need to create a relationship between EmployeeAvailability and the table containing "Status"
If No, and you only have one table then I would try:
CALCULATE(
DISTINCTCOUNT(EmployeeAvailability[EmployeeCode]),
KEEPFILTERS( EmployeeAvailability[ShortTermBench]<>BLANK()))
If either of these work, please accept as the solution, if they do not, please share more information about your semantic model and perhaps some sample data.