Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Guys,
I have some data with date fields.
What I want to do is get the difference between these 2 days and group it under grouping table based on the number of days.
And the result should be how many orders are there for each group based on the number of days difference.
Answer should looks like this
Here is the file.
https://drive.google.com/file/d/1EY1GrBHieyd3XOpWvtWzGwiYqAmrkNfC/view?usp=sharing
Solved! Go to Solution.
This is the code I am Trying
Try this this should give the correct result.
Not giving the expected Answer.
Awesome 😀 Thanks a heap.