Forum Discussion

GOHOCKEY's avatar
GOHOCKEY
Regular Visitor
8 years ago
Solved

Getting Data only for last year MS BI DESKTOP

Hi,

 

I'm very new in MS BI. I'm trying to see what is the most effecient way of returning only 365 days of data into my Bar Chart I have created. Is there a way to create a New Column as a calculation that I can drop it as a part of the Chart? So, basically, the chart woiuld be based on all the rows for the last 365 days.

 

Thanks so much for your time.

 

  • Hi GOHOCKEY,

     

    Can you share the formula? Or share the whole file with us? Please mask the private parts.

     

    Best Regards,

    Dale

5 Replies

  • You can simply use a Relative date slicer for this. Set the default value as Last 1 Year running.

     

    • GOHOCKEY's avatar
      GOHOCKEY
      Regular Visitor

      Thanks so much! After using the PREVIOUSYEAR(Sheet1[Closed Date]) I'm getting A table of multiple values was supplied were a single value was expected. Do you by any chance know why I'm getting this error?

      Thanks for your time

      • v-jiascu-msft's avatar
        v-jiascu-msft
        Icon for Microsoft Employee rankMicrosoft Employee

        Hi GOHOCKEY,

         

        Can you share the formula? Or share the whole file with us? Please mask the private parts.

         

        Best Regards,

        Dale