Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
61 | |
36 | |
32 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |