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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Microsoft Employee
Microsoft 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.