Forum Discussion

EriSte's avatar
EriSte
Frequent Visitor
4 years ago
Solved

Week number shifted one week

Hi.

In my visual, I have a checkbox seleciton to define which weeks I want to get values from. The week selection seems to be shifted by +1. 

For example, if I select "week 40", I get data from "week 39".

 

Any ideas?

  • Hi EriSte 

    Try this, create the masure below

    Measure = CALCULATE(MAX('Table'[Value]),FILTER(ALL('Table'),'Table'[Week]= MIN('Table'[Week])-1))

    Here is a similar solution for your reference, link

     

    Best Regards,

    Community Support Team _Tang

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

2 Replies