I have a measure which calculates the sum from a fact table which I am not able to slice with Date.
Count Trend = If([Selected Report Type]="Weekly",
IF([Selected Api]<>"Multiple",CALCULATE(SUM(FactWeeklyMetrics[Count])),Blank())
,
IF([Selected Api]<>"Multiple",CALCULATE(SUM(FactDailyMetrics[Count])),Blank())
)
When I am adding Date to Axis the value disappears from any visual. However If I put a card control it shows total.
[Selected Report Type] and [Selected Api] also a measure to figure out if a value is selected.