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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
DimaMD
Solution Sage
Solution Sage

Show date by 60,120 days

Hi,

what measure can show the date which will be in 60,120 days

if I have a date 07/10/2021 it should show 06/12/2021
thanks for the help


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
1 ACCEPTED SOLUTION

@DimaMD 

try this:

Measure=
IF (
    ISBLANK ( MAX ( Table[Date of purchase] ) ),
    BLANK (),
    CALCULATE ( MIN ( Table[Date of purchase] ), REMOVEFILTERS ( 'Table' ) ) + 60
)

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

Appreciate your Kudos!!

 

View solution in original post

4 REPLIES 4
VahidDM
Super User
Super User

Hi @DimaMD 

 

add 60 to the date, for instance:

measure = today()+60 or

VahidDM_0-1633955346596.png

 

 

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

Appreciate your Kudos!!

 

Hi, @VahidDM 
This measure is great, but I have a table and I have to see the payment date which will be the date in 60-120 days
Example table

Shopper IDDate of purchasePayment date 60 daysPayment date 120 days
101.08.2021  
205.07.2021  
3   
407.10.2021  

My measure is

CALCULATE(
MIN(Table[Date of purchase] ),
REMOVEFILTERS('Table'))+60
The result that I am does not suit me, I don't want to see this date 28/02/1900
Shopper IDDate of purchasePayment date 60 daysPayment date 120 days
101.08.202130.09.2021 
205.07.202103.09.2021 
3 28.02.1900 
407.10.202106.12.2021 

__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

@DimaMD 

try this:

Measure=
IF (
    ISBLANK ( MAX ( Table[Date of purchase] ) ),
    BLANK (),
    CALCULATE ( MIN ( Table[Date of purchase] ), REMOVEFILTERS ( 'Table' ) ) + 60
)

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

Appreciate your Kudos!!

 

@VahidDM 
Working measure, Thank you very much


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.