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

Getting a forecast date from a measure

I have a "DaysLeft" measure that I created that contains the number of days (Decimal) left until a specific Plant area is completed. So for each value in my "PlantArea" column, there is a unique "DaysLeft" measure value.

I now want to get the forecast date for when each "PlantArea" will be complete. Thus, Today()+DaysLeft for that particular plant area.

I've tried:

 

DATEADD(TODAY(), +[DaysLeft], DAY)

but that gives me nothing 😞

 

Any idea how I can do this?

3 REPLIES 3

Hi @cornelverster

 

DateAdd only accepts Date tables as 1st argument - Today() returns a scalar value.

 

Calc Column = Today() + [DaysLeft] should work in your case !

@Datatouille. I've tried that, but making a column causes it to always give me the error of a circular dependency. Using a measure works, but then I can't display things in a calendar visualization 😞

 

How does one defeat the circular dependency error?

Hi @cornelverster,

 

To further investigate on the circular dependency error, could you post the formula you're using for the measure [DaysLeft], and your table structures with some sample data which can reproduce the issue? It's better to share a sample pbix file. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.Smiley Happy

 

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.