cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors