Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Error using measure with scorecard

Hello all,

 

I am using a mesaure with the DAX formula- CALCULATE(COUNTA(Table 1[SalesNo]),DATESMTD(Date Table[Date1])) for Mesaure A and CALCULATE(COUNTA(Table 1[SalesNo]),DATESMTD(Date Table[Date2])) for Measure B. Both these mesaures are being used in a card visualization and hence I dont have any date slicers. Mesaure A is displaying accurate results even without date slicer. But Mesaure B will show Blank if no date slicer is used. I cant have a date slicer there as per requirements. What should I do?

 

Thanks in advance.

  • Anonymous's avatar
    Anonymous
    9 years ago

    Got a solution to this. Had to set the relationship Cardinality to Both. Works fine now!

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Got a solution to this. Had to set the relationship Cardinality to Both. Works fine now!