Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
GOHOCKEY
Regular Visitor

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.

 

1 ACCEPTED SOLUTION

Hi @GOHOCKEY,

 

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

 

Best Regards,

Dale

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

View solution in original post

5 REPLIES 5
v-jiascu-msft
Employee
Employee

Hi @GOHOCKEY,

 

Maybe previousyear-function-dax could help.

 

Best Regards,

Dale

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

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

Hi @GOHOCKEY,

 

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

 

Best Regards,

Dale

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

Hi,

There is a lot to Mask; however, using the left Menu under Fields and selecting the New Field option allowed me a nice quick way of adding the formulas after "Column=" to create the column showing the Formulas.

I think I'm good now and thanks for your time.

prihana
Helper V
Helper V

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

 

Capture.PNG

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.