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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

How to days count of number in days

i have three column  Deilviery date ,proposedate ,Timecov.   i want to  TImecov  number  to  propose date .  if any blank row in porposedate   its take delivery date column 

 

Delivery                Proposedate                Timecov                                      

15 sep 2019         10 sep 2019                    7 
16 sep 2019         10 sep 2019                    7 
05 june 2020                                               30 
15 July 2019         10 sep 2020                   45
15 sep 2019         10 sep 2021                    21 

Output:

Delivery                Proposedate                Timecov                     OSS date                  

15 sep 2019         10 sep 2019                    7                            17-sep-2019
16 sep 2019         10 sep 2019                    7                            17-sep-2019
05 june 2020                                               30                           05 july 2020
15 July 2019         10 sep 2020                   45                            25 oct 2020
15 sep 2019         10 sep 2021                    20                           30 sep 2021

 

any idea.its possible in dax ? i am looking for support . i am tired DATEADD fucntion i am getting Error 

 

Thanks 

 

 

                          

1 ACCEPTED SOLUTION

@Anonymous If I understand correctly, then something like:

OSS date column = 
  IF([Overdue] = "Standard overdue" || [Overdue] = "Old overdue" || [Overdue] = "UrgentOverdue",
    IF(ISBLANK([Proposedate]),[Delivery]+VALUE([Timeconv]),[Proposedate]+VALUE([Timeconv])),
    BLANK()
  )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Greg_Deckler   ya  i want to apply  above formula only for three overdue  types only ..Thanks Now working 

Greg_Deckler
Community Champion
Community Champion

@Anonymous Try:

OSS date column = 
  IF(ISBLANK([Proposedate]),[Delivery]+VALUE([Timeconv]),[Proposedate]+VALUE([Timeconv]))


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler  its working perfect thanks .  how i will filter on this  above query 

i have   Overdue  column  name 

Overdue

Close Po 

Standard overdue 

Old overdue 
UrgentOverdue
Purchase OVR 

 

i want above apply only  Standard overdue ,Old overdue ,UrgentOverdue . please how i  will this filter above query 

@Anonymous If I understand correctly, then something like:

OSS date column = 
  IF([Overdue] = "Standard overdue" || [Overdue] = "Old overdue" || [Overdue] = "UrgentOverdue",
    IF(ISBLANK([Proposedate]),[Delivery]+VALUE([Timeconv]),[Proposedate]+VALUE([Timeconv])),
    BLANK()
  )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (3,578)