March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello Community
Hoping to get some assistance with the following.
I have a table of contents that has clients attending an event over various dates.
I want to count the events but only when there has been more than 4 clients attend over any given date .
Eg
Visit Start Date | Client ID |
10/04/2024 | AC000001559 |
10/04/2024 | AC000072718 |
10/04/2024 | AC000637102 |
10/04/2024 | AC000876443 |
10/04/2024 | AC000949724 |
10/04/2024 | AC001095530 |
10/04/2024 | AC001118236 |
10/04/2024 | AC002313429 |
10/04/2024 | AC003762526 |
10/04/2024 | AC004373399 |
10/04/2024 | AC005013076 |
12/04/2024 | AC002313429 |
16/04/2024 | AC000001559 |
16/04/2024 | AC000857537 |
16/04/2024 | AC001032870 |
16/04/2024 | AC001070439 |
16/04/2024 | AC001118236 |
16/04/2024 | AC001743949 |
16/04/2024 | AC002564643 |
16/04/2024 | AC004049946 |
16/04/2024 | AC004228120 |
16/04/2024 | AC004269964 |
16/04/2024 | AC004373399 |
16/04/2024 | AC005013076 |
From the above , there are 3 dates. Only the 10th and 16th have a count of more than 4 clients.
The outcome im wishing to acheive is to have a measure to calculate the number of events and from the above the results should be 2.
Many Thanks
Solved! Go to Solution.
You can produce your required output in many different ways and one of them is to create a separate calendar table from the min and max of your date field in your fact table, and then create a relationship with your calendar table and the fact table, and then write a dax formula like below to produce a visual like below.
I attach an example pbix file.
You can produce your required output in many different ways and one of them is to create a separate calendar table from the min and max of your date field in your fact table, and then create a relationship with your calendar table and the fact table, and then write a dax formula like below to produce a visual like below.
I attach an example pbix file.
Thank You
This works best for how i wish to present the data
Many thanks
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |