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
niekdp
Frequent Visitor

date + x-amount of days

Dear,

 

We have clients with a reception date Per example 01/01/2018. I want to see a value (1) if the approved date is before 28 days after.

Is it possible using power bi?

 

example:

reception date 01/01/2018, approved: 10/01/2018: show value 1
reception date 01/01/2018, approved: 02/02/2018: no value.

 

The goal is to have the amount of accounts approved in less than 28 days as a conversion to the amount of accounts that are approved later. 

 

Kind regards 

Niek

1 REPLY 1
v-ljerr-msft
Employee
Employee

Hi @niekdp,

 

Based on my test, you should be able to use the formula below to create a calculate column in your table to get the expected result in your scenario. Smiley Happy

Column = IF(DATEDIFF(Table2[reception date],Table2[approved],DAY)<28,1)

c1.PNG

 

Regards

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.