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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello,
I am having trouble counting the number of distinct weeks related to the following employee while ignoring the partition on "Reason Name" (shown in the column headers ex. "Work", "Partner", "Travel", etc.). I've tried several methods to no avail.
Hi,
You should first create a Calendar Table and then build a relationship (Many to One and Single) from the Week start date column to the Date column of the Calendar Table. To your visual, drag Month name and Date from the Calendar Table. Write these measures
Total = distinctcount('Avg Weekly CRM Hours by Tech/Week/Reason'[Week start date])
Measure = calculate([Total],all(calendar[Date]))
Hope this helps.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 39 | |
| 23 | |
| 22 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 63 | |
| 38 | |
| 31 |