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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello everyone,
I'm trying to count the number of days on a job for a specific client. In the following table for example the number of days is 6 total. Each day has multiple tickets . Any idea of how to acheive this? I'm happy with a "card" for visualization.
| Year | Month | Day | TicketNumber | BusinessPartnerName |
| 2019 | August | 1 | 38775 | Encana Corporation |
| 2019 | August | 1 | 38776 | Encana Corporation |
| 2019 | August | 1 | 39547 | Encana Corporation |
| 2019 | August | 1 | 39548 | Encana Corporation |
| 2019 | August | 2 | 38797 | Encana Corporation |
| 2019 | August | 2 | 38798 | Encana Corporation |
| 2019 | August | 2 | 39574 | Encana Corporation |
| 2019 | August | 2 | 39575 | Encana Corporation |
| 2019 | August | 3 | 38829 | Encana Corporation |
| 2019 | August | 3 | 38830 | Encana Corporation |
| 2019 | August | 3 | 39600 | Encana Corporation |
| 2019 | August | 3 | 39601 | Encana Corporation |
| 2019 | August | 4 | 38875 | Encana Corporation |
| 2019 | August | 4 | 38876 | Encana Corporation |
| 2019 | August | 4 | 39630 | Encana Corporation |
| 2019 | August | 4 | 39631 | Encana Corporation |
| 2019 | August | 5 | 38903 | Encana Corporation |
| 2019 | August | 5 | 38929 | Encana Corporation |
| 2019 | August | 5 | 39667 | Encana Corporation |
| 2019 | August | 5 | 39668 | Encana Corporation |
| 2019 | August | 6 | 39681 | Encana Corporation |
| 2019 | August | 6 | 39703 | Encana Corporation |
| 2019 | August | 6 | 39704 | Encana Corporation |
| 2019 | August | 6 | 39713 | Encana Corporation |
| 2019 | August | 6 | 39714 | Encana Corporation |
Solved! Go to Solution.
HI @bouyazbekj
You can try the following measure:
_Count_M =
VAR _TEMP =
GROUPBY ( T27, T27[Day], T27[Month], T27[Year] )
VAR _COUNT =
COUNTROWS ( _TEMP )
RETURN
_COUNTHi, I believe this can be achieved by using maximum days.
HI @bouyazbekj
You can try the following measure:
_Count_M =
VAR _TEMP =
GROUPBY ( T27, T27[Day], T27[Month], T27[Year] )
VAR _COUNT =
COUNTROWS ( _TEMP )
RETURN
_COUNTHello @Anonymous
Thanks a lot!!!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |