Forum Discussion
Date Calculation
- 11 months ago
Hi JCortez
See if this Calculated Column DAX Query helps you
DateDiff_Days = VAR StartDate = CALCULATE ( MIN ( Client_Program[start_date] ), FILTER ( Client_Program, Client_Program[client_id] = Client_Assessment[client_id] && Client_Program[serv_id] = Client_Assessment[serv_id] ) ) RETURN IF ( NOT ISBLANK(StartDate), DATEDIFF(StartDate, Client_Assessment[clas_date], DAY), BLANK() )I have attached a sample PBIX file. I have tested this code and built it without any relationships, since I’m not sure how you have set them up in yours. Feel free to play around with it and see if it works for you as well.
Hi JCortez,
Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to kushanNa, ToddChitt, MasonMA, for those inputs on this thread.
Has your issue is resolved? As provided solution by community members kushanNa, MasonMA, ToddChitt,
addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.
Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.
Thank you for using the Microsoft Community Forum.
- v-kpoloju-msft11 months agoCommunity Support
Hi JCortez,
Hope you had a chance to try out the solution shared earlier. Let us know if anything needs further clarification or if there's an update from your side always here to help.Thank you.
- v-kpoloju-msft10 months agoCommunity Support
Hi JCortez,
Just wanted to follow up one last time. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.Thank you.