Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I column for Week Start date with the below dax formula:
what are the additional measures/dax formulas needed for me to get the total count per week.
Thanks.
Solved! Go to Solution.
Hi @Anonymous ,
You can create a measure as below to get the count of tickets per week:
Count of tickets =
VAR _tab =
SUMMARIZE (
'ECM Data',
'ECM Data'[WeekStartDate],
"@count",
CALCULATE (
DISTINCTCOUNT ( 'ECM Data'[Ticket Number] ),
FILTER (
'ECM Data',
'ECM Data'[WeekStartDate] = EARLIER ( 'ECM Data'[WeekStartDate] )
)
)
)
RETURN
SUMX ( _tab, [@count] )
Or you don't need to create any measure, just create a table visual with the field [WeekStartDate] and put the field [Ticket] with the aggregation function: Count(Distinct) just as below screenshot:
You can find all above information in the attachment.
Best Regards
the formula worked. its good now. thank you
i am still getting the same result. i am not sure if the weekstartdate formula is the problem. Here's how icreated the weekstart date column:
Hi @Anonymous ,
You can create a measure as below to get the count of tickets per week:
Count of tickets =
VAR _tab =
SUMMARIZE (
'ECM Data',
'ECM Data'[WeekStartDate],
"@count",
CALCULATE (
DISTINCTCOUNT ( 'ECM Data'[Ticket Number] ),
FILTER (
'ECM Data',
'ECM Data'[WeekStartDate] = EARLIER ( 'ECM Data'[WeekStartDate] )
)
)
)
RETURN
SUMX ( _tab, [@count] )
Or you don't need to create any measure, just create a table visual with the field [WeekStartDate] and put the field [Ticket] with the aggregation function: Count(Distinct) just as below screenshot:
You can find all above information in the attachment.
Best Regards
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 49 | |
| 44 |