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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
brentyang
New Member

Date slider not correct: adding value to year column

Hi,

 

I'm having problems getting the date slider (e.g. selected 2019 fiscal year) to match with the date matrix (retrieves the Apr 2018-Mar 2019 year). 

 

powerbi_datesnotmatching.JPG

I've been trying to use the dateadd formula to change the date column, but it might be easier to shift the FYYYY column. Is there a way I can add a year to the FYYYY column (e.g. from 2017 to 2018 by adding one year interval to all rows in the column)? 

powerbi_datesnotmatching2.JPG

 

Thank you for your help,

Brent

2 REPLIES 2
Anonymous
Not applicable

Such transformations should be performed during data load via Power Query.
Pragati11
Super User
Super User

Hi @brentyang ,

 

Try using DATEADD dax function:

https://docs.microsoft.com/en-us/dax/dateadd-function-dax

 

If the post is helpful give Kudos or mark it as a solution if it resolves the issue! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors