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
Anmolgan
Post Prodigy
Post Prodigy

How can I derive Fiscal Year from my SAP BW Data souce?

I have a date field which is already provided as date table, but the field type is text, and whenver I try to make it to date field it runs for a good amount of time and give me errors that some rows cannot be convereted into datetime fields, My Financial year starts at April of each year and ends at March next year, how can I derive fiscal quaters, fiscal months, and fiscal year from my existing date is there any safe way to do this?

1 ACCEPTED SOLUTION

Hi @Anmolgan ,

 

It's not feasible to use it in text format, please convent the text to date using DAX first:

https://community.powerbi.com/t5/Desktop/Convert-column-from-Text-to-Date/td-p/136492

 

Best regards,
Dina Ye

Community Support Team _ Dina Ye
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-diye-msft
Community Support
Community Support

Hi @Anmolgan ,

 

If  my above post helps, could you please consider Accept it as the solution to help the other members find it more quickly. thanks!

 

 

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

Hi @Anmolgan 

 

Can you share some data of the date field including those that give error when changing the type to date to find a solution.

 

Put the data in Google / One Drive and share the link here.

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!
v-diye-msft
Community Support
Community Support

Hi @Anmolgan ,

 

You can convert the calendar date to fiscal data in DAX, details refer to: 

https://community.powerbi.com/t5/Desktop/Creating-a-Fiscal-Year-amp-Fiscal-Quarter-in-a-DATE-calenda...

 

Best regards,
Dina Ye

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

Date can remain text will that work with the DAX forumla?

Hi @Anmolgan ,

 

It's not feasible to use it in text format, please convent the text to date using DAX first:

https://community.powerbi.com/t5/Desktop/Convert-column-from-Text-to-Date/td-p/136492

 

Best regards,
Dina Ye

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

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.