Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How can I Prevent Only One Filter For Only One Visual

Hi everyone,

 

I'm trying to build a SMS delivery dashboard for a company. 

 

I'm trying to calculate AVG of SMS delivery time for month, week, and day as seconds. I'm using the measure formula below.

 

I dont want my date filter effect this visual that im using measure below. I tried to use ALL function but it didnt work. Any help?

 

Thanks.

 

MonthAverage = CALCULATE(AVERAGE(vSmsMessageDashboardRpt[SecDifference]), FILTER(vSmsMessageDashboardRpt, FORMAT(vSmsMessageDashboardRpt[SystemDate], "dd/mm/yyyy")>= FORMAT(DATE(YEAR(TODAY()),1,1), "dd/mm/yyyy")))
 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    I tried to use ALL function like below but it didnt work.

     

    MonthAverage = CALCULATE(AVERAGE(vSmsMessageDashboardRpt[SecDifference]), FILTER(vSmsMessageDashboardRpt, FORMAT(vSmsMessageDashboardRpt[SystemDate], "dd/mm/yyyy")>= FORMAT(DATE(YEAR(TODAY()),1,1), "dd/mm/yyyy")), ALL(vSmsMessageDashboardRpt[SystemDate]))