I have a table like shown below:
| ID | Date | Asset | Location |
|---|---|---|---|
| 145 | 7/29/22 | A | Market |
| 145 | 7/30/22 | A | Warehouse |
| 145 | 7/29/22 | B | Market |
| 145 | 7/29/22 | C | Truck |
| 150 | 7/30/22 | B | Market |
| 145 | 7/29/22 | D | Market |
| 145 | 7/30/22 | A | Market |
What I am trying to accomplish is to get a distinct count of IDs for each date with a location filter as well. So I would want a count of ID based on the slicer selected Date of 7/29/22 AND 7/30/22 for the Market Location. The desired result is 2 for the selected dates from the date slicer which directly corresponds to the date column in the table.
I was trying to use this DAX formula and wasn't getting anywhere....
IDsMarket =
CALCULATE (
DISTINCTCOUNT ( 'Products'[ID] ),
ALL ( 'Products' )
)
I have a measure dropped onto a card. I should have specified that. My apologies. I need 1 measure to show me the combined count for the two days selected.
I tried this with countrows as well but of course the result wasn't distinct... Any help would be greatly appreciated!!

