Forum Discussion

naseem_1973's avatar
naseem_1973
Helper I
2 years ago
Solved

Restricted data Yestersday

Dear all,

 

Our server refreshes after 12:am daily, I want to restricted data yesterday. 

This means if our server refreshes on 13th Sep.2023 I want data in pBI till 12th September.

 

Regards,

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi naseem_1973 

    You can create a measure in the report.

     

    Best Regards!

    Yolo Zhu

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi naseem_1973 

    You can consider to use datebetween() function in a measure to restrict it.

    e.g Measure=CALCULATE(SUM(),DATESBETWEEN(‘Table’[Date], MIN('Table'[Date]), TODAY() - 1))

     

    Best Regards!

    Yolo Zhu

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

    • naseem_1973's avatar
      naseem_1973
      Helper I

      Create a new column in date table or my data table date column?

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi naseem_1973 

        You can create a measure in the report.

         

        Best Regards!

        Yolo Zhu