Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Dynamatic calculation based on slicer

Hi,

 

I have been struggling with this question for a while.

Here is what I was trying to accomplish: for a selected day, I will show the stats for that day and average stats for the same day of week for the past one year. For example, if the user pick Nov 14, 2019, the first table present the stats for that single day, the second table shows average stats for thursdays between Nov 14, 2018 and Nov 13, 2019. Currently, I am using two groups of slicers and can only accomplish part of t he task. I block the interaction between slicers under step 1 and the second table, so I can get the average stats for all thursdays, but I could not filter out the selected day and define the range of one year.

 

thanks,

 

 

10 Replies

  • v-yuta-msft's avatar
    v-yuta-msft
    Community Support

    Anonymous ,

     

    To achieve this, you need to build two slicers. For example, you have slicer1, slicer2, visual1 and visual2. You can disable interaction from slicer1 with slicer2 and visual2, and disable interaction from slicer2 with slicer1 and visual1.

     

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks, Jimmy.

       

      Could you give me more details regarding how to use two slicers to filter out the current date in the second visual, and dynamatically select one year data to report on? Thanks,

       

      Kathebrine