Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi, I want to count number of customerid WHERE Order Date is in the NEXT 7 days.
How do I write this in DAX please ?
Many Thanks
Solved! Go to Solution.
@Anonymous , Try a measure like
countrows(filter(Table, Table[Order Date] >=today() && Table[Order Date] <=today() +7))
or
countx(filter(Table, Table[Order Date] >=today() && Table[Order Date] <=today() +7),Table[customer_id])
@Anonymous , Try a measure like
countrows(filter(Table, Table[Order Date] >=today() && Table[Order Date] <=today() +7))
or
countx(filter(Table, Table[Order Date] >=today() && Table[Order Date] <=today() +7),Table[customer_id])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
90 | |
82 | |
62 | |
61 | |
58 |
User | Count |
---|---|
160 | |
114 | |
100 | |
74 | |
65 |