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.
i have a table with clientid / salesorder# / orderdate. I would like to have a measure to count how many clients have more than 2 or more orders total. So im thinking this would need to summarize, then do a filter, but not sure how that syntax would work.
For example, below is an example table. I would like a measure to show 1 because only 1 client has had 2 or more orders in this time frame.
Client Order ID Date
a 1563 9-2-2020
a 1234 9-2-2020
a 2345 9-6-2020
b 5678 9-7-2020
Thank you
Solved! Go to Solution.
@thampton ,Try
Client >2 order =countx(filter(summarize(Table,Table[Client] , "_1", count(Table[Order ID])),[_1]>=2),[Client])
@thampton ,Try
Client >2 order =countx(filter(summarize(Table,Table[Client] , "_1", count(Table[Order ID])),[_1]>=2),[Client])
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 |
---|---|
86 | |
84 | |
66 | |
62 | |
59 |
User | Count |
---|---|
197 | |
116 | |
107 | |
77 | |
70 |