Data Monitoring / Power BI Performance & KPI Integrity
Power BI: Ratio of sums versus average of ratios
A conversion KPI changes when the same data is regrouped. Calculate total conversions divided by total visits and compare it with an unweighted average of per-row rates.
Environment and inputs: Power BI semantic models and reports; measure behavior depends on relationships, storage mode and filter context.
Failure scenario
A conversion KPI changes when the same data is regrouped. Confirm the cause before choosing a fix.
What to check first
Calculate total conversions divided by total visits and compare it with an unweighted average of per-row rates. Record the time, affected scope and a time period when the system was working normally.
Worked diagnostic example
Illustrative DAX for a weighted conversion rate; table and column names are examples.
Conversion Rate =
DIVIDE(SUM('Traffic'[Conversions]), SUM('Traffic'[Visits]))
Fix the confirmed cause
Use the agreed denominator weighting and document why the two calculations answer different questions. Write the expected result first. Change one relevant setting at a time.
Check the result and share your findings
Repeat the check for ratio of sums versus average of ratios using the same scope and a typical operating period. Check that the original problem is resolved, the expected records are present, and systems that use the result still receive correct data.
If the change loses needed data, produces wrong results or increases delay, restore the saved settings through the agreed recovery process.
Limits and precautions
Use read-only access where possible. Limit queries to the time period or data you need. Test changes in an approved environment; this example has not been tested on your systems. Do not include passwords, access tokens or sensitive records in shared results.