Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.