Forum Discussion

Quiny_Harl's avatar
Quiny_Harl
Advocate III
4 years ago
Solved

How to create a dynamic rolling average measure?

In fact, I have created the dynamic rolling average measure. Here how it works. We have 2 slicers - one to select the measure we want to visualize and another one to select the 3 month, 6 month or 1...
  • parry2k's avatar
    4 years ago

    Quiny_Harl simply launch TE 

     

    - create a calculation group

    - add 4 calculation item, name those whatever you want

    - assuming calculate items are called "Item1", "Item2", "Item3", Item4"

    - for item1, it will return [Measure 1] and in the format string give the format string this suppose to have, do the same for each item in the calculation group. For item 4, the format string will be %

     

    Apply and save the changes, To visualize

     

    - put calculation item as a slicer so use can which measure they want to see

    - in a matrix visual, put a column on rows, calculation item column on columns, any measure on value

     

    and based on the slicer selection, the respective measures will show in the matrix visual with the respective format.

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!