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! Get ahead of the game and start preparing now! Learn more
I have a model like below (other columns hidden for confidentiality) and I need to calculate the conversion rate (Total_Inbound_Calls_Booked / Accepted_Calls) for the following:
1. Conversion rate for last 7 days.
2. Conversion for the 7 days prior (days 8 - 14).
3. Change in conversion rate for the last 7 days compared to the prior 7 days (days 8 - 14)
Any and all help is appreciated!
Solved! Go to Solution.
Hi @ERing
Can you please try below two measure
ConversionRate_Last7Days =
VAR Last7DaysAcceptedCalls =
CALCULATE(
SUM(Inbound_Calls[Accepted_Calls]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]), -7, DAY))
VAR Last7DaysTotalInboundCalls =
CALCULATE(
SUM(Inbound_Calls[Total_Inbound_Call_Booked]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]), -7, DAY))
RETURN
DIVIDE(Last7DaysAcceptedCalls, Last7DaysTotalInboundCalls, 0)ConversionRate_Prior7Days =
VAR Prior7DaysAcceptedCalls =
CALCULATE(
SUM(Inbound_Calls[Accepted_Calls]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]) - 7, -7, DAY))
VAR Prior7DaysTotalInboundCalls =
CALCULATE(
SUM(Inbound_Calls[Total_Inbound_Call_Booked]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]) - 7, -7, DAY))
VAR ConversionRatePrior =
DIVIDE(Prior7DaysAcceptedCalls, Prior7DaysTotalInboundCalls, 0)
RETURN
ConversionRatePrior
Proud to be a Super User! | |
Hi @ERing
Can you please try below two measure
ConversionRate_Last7Days =
VAR Last7DaysAcceptedCalls =
CALCULATE(
SUM(Inbound_Calls[Accepted_Calls]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]), -7, DAY))
VAR Last7DaysTotalInboundCalls =
CALCULATE(
SUM(Inbound_Calls[Total_Inbound_Call_Booked]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]), -7, DAY))
RETURN
DIVIDE(Last7DaysAcceptedCalls, Last7DaysTotalInboundCalls, 0)ConversionRate_Prior7Days =
VAR Prior7DaysAcceptedCalls =
CALCULATE(
SUM(Inbound_Calls[Accepted_Calls]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]) - 7, -7, DAY))
VAR Prior7DaysTotalInboundCalls =
CALCULATE(
SUM(Inbound_Calls[Total_Inbound_Call_Booked]),
DATESINPERIOD(Calendar[Date], MAX(Calendar[Date]) - 7, -7, DAY))
VAR ConversionRatePrior =
DIVIDE(Prior7DaysAcceptedCalls, Prior7DaysTotalInboundCalls, 0)
RETURN
ConversionRatePrior
Proud to be a Super User! | |
This worked. Thank you!
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 |
|---|---|
| 57 | |
| 44 | |
| 42 | |
| 20 | |
| 18 |