This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi Experts
Based on the sample data below.
| crm_call_name | Date | day_name_short | week_start_date | week_end_date | month_desc_short | activity_type_1 | product_name_ | data_value |
| C027449642 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449644 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449744 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027475422 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449645 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027475423 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449641 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449640 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449741 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Apples | 1 |
| C027449646 | 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Trelegy | 1 |
| C027475443 | 24-Nov-22 | Thu | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Oranges | 1 |
| C027449751 | 24-Nov-22 | Thu | 21-Nov-22 | 27-Nov-22 | Nov | f2f | Oranges | 1 |
| 21-Nov-22 | Mon | 21-Nov-22 | 27-Nov-22 | Nov | customer_facing_day | 1 | ||
| 23-Nov-22 | Wed | 21-Nov-22 | 27-Nov-22 | Nov | customer_facing_day | 1 | ||
| 25-Nov-22 | Fri | 21-Nov-22 | 27-Nov-22 | Nov | customer_facing_day | 1 | ||
| 22-Nov-22 | Tue | 21-Nov-22 | 27-Nov-22 | Nov | customer_facing_day | 1 | ||
| 24-Nov-22 | Thu | 21-Nov-22 | 27-Nov-22 | Nov | customer_facing_day | 1 | ||
1. John has 5 cutsomer facing days
Measure
Solved! Go to Solution.
Hi, @Anonymous ;
You could try this measure.
Weekly Rates =
Var Day_Count= CALCULATE(SUM(act_rates_activity_volume_and_cf_days[data_value]),FILTER(ALL(act_rates_activity_volume_and_cf_days),
act_rates_activity_volume_and_cf_days[activity_type_1] = "customer_facing_day"))
Var Activity_CT= CALCULATE(SUM(act_rates_activity_volume_and_cf_days[data_value]),
act_rates_activity_volume_and_cf_days[activity_type_1] = "f2f")
Return
Divide(Activity_CT,Day_Count,0)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ;
You could try this measure.
Weekly Rates =
Var Day_Count= CALCULATE(SUM(act_rates_activity_volume_and_cf_days[data_value]),FILTER(ALL(act_rates_activity_volume_and_cf_days),
act_rates_activity_volume_and_cf_days[activity_type_1] = "customer_facing_day"))
Var Activity_CT= CALCULATE(SUM(act_rates_activity_volume_and_cf_days[data_value]),
act_rates_activity_volume_and_cf_days[activity_type_1] = "f2f")
Return
Divide(Activity_CT,Day_Count,0)
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The issue is when i filter by Product_name and any other column to get lower level result - it set the customer facing days value to zero....
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 50 | |
| 30 | |
| 23 | |
| 23 |