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
Anonymous
Not applicable

Break down contract duration per fiscal year

Edit for a more clear description of the problem.

 

Hello, 

 

I have this table:

 

client

contract start date

contract end date

x

april 2019

march 2020

y

october  2020

september 2022

 

Knowing that fiscal years start on October, I want the duration of each contract per fiscal year:

 

client

contract start date

contract end date

FY19 duration (mo)

FY20 duration (mo)

FY21 duration (mo)

FY22 duration (mo)

x

april 2019

march 2020

6

6

0

0

y

october  2020

september 2022

0

0

12

12

 

How can I create these colums in DAX (or M Query?)

 

Many thanks

4 REPLIES 4
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

I don't understand clearly about your requirement. Can you please share some sample data and your expected results?  Then we will solve it quickly.

 

Best Regards,

Xue Ding

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

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

see first post

Anonymous
Not applicable

Does this help @v-xuding-msft ? Please let me know if I can add more details for a better understanding of my need.

Thanks

Anonymous
Not applicable

I have edited the first post for a more straightforward description of the problem.

 

Thanks in advance for your help.

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.