Forum Discussion
Day over Day % change
Hi I'm trying to calculate % change over day but the formula isn't working. I think it's because of the category column frac name I have to sum the data based on frac name but not sure how to fix this
2 Replies
- amitchandak
Super User
Anonymous , Best way for that is to use a date table and time intelligence. Please refer to examples below
This Day = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])))
Last Day = CALCULATE(sum('order'[Qty]), FILTER(ALL('Date'),'Date'[Date]=max('Date'[Date])-1))
Last Day = CALCULATE(sum('order'[Qty]), previousday('Date'[Date]))Day Intelligence - Last day, last non continous day
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
- V-lianl-msft
Community Support
Hi Anonymous ,
Sorry, based on your description, it is difficult to check your issue.
Please share a sample pbix or post the sample data.
Please remove any sensitive data before uploading.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.