Forum Discussion

SevsBo's avatar
SevsBo
Icon for Responsive Resident rankResponsive Resident
1 year ago
Solved

Time intelligence not working but manual filtering does?

I have a simple Table1 connected to DateTable, where I am trying to calculate the count of Items in current month where ItemName from Table2 = Banana.

 

If I create a Card and drag in Item, using Count, and add filters based on ItemName = Banana and DateTable is in current month, I get expected results. But so far I have failed to do the same in a measure.

 

I tried two approaches:

 

Approach1 =
CALCULATE(
    COUNTA('Table1'[Item]),
    DATESMTD(DatesTable[Date]),
    'Table2'[ItemName] = "Banana")

And:
 
Approach2 = 
TOTALYTD(
    COUNTA('Table1'[Item]),
    DATESMTD(DatesTable[Date]),
    'Table2'[ItemName] = "Banana")
 
Both return Blank results in a Card visual. What am I doing wrong?
  • No solution found but flagging this as solution to close thread.

14 Replies