Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
GabeGap
Frequent Visitor

Weighted Survey Total

Hi all, I've got 3 measures of percentages.  

GabeGap_0-1715934434830.png

How can I combine these data sets but with a weighted total. The best example I can think of is kinda like how a grade is calculated in a classroom. These values are all held in their own measure. (also made the commerical scores really bad since usually they're all about the same but wanted to make sure that its caluclated correct.)

GabeGap_0-1715936904530.png

How can I create a measure to display the percentage that the online caluclator displayed?

1 ACCEPTED SOLUTION
GabeGap
Frequent Visitor

Was overthinking it. Figured it out by using this formula. 

averageOfAll = 
CALCULATE(
    'SQL Survey'[Assessment Satisfaction %] *0.35 +
    'SQL Survey'[Bundle Satisfaction %] * 0.35 +
    'Survey Tracker'[CommcericalAverage] * 0.30 
)

Something else that kept screwing me up was it was using all historical data which becomes invalid at somepoint and kept screwing up the formula. Had to filter by 2 timestamps and its working exactly as expected

View solution in original post

2 REPLIES 2
GabeGap
Frequent Visitor

Was overthinking it. Figured it out by using this formula. 

averageOfAll = 
CALCULATE(
    'SQL Survey'[Assessment Satisfaction %] *0.35 +
    'SQL Survey'[Bundle Satisfaction %] * 0.35 +
    'Survey Tracker'[CommcericalAverage] * 0.30 
)

Something else that kept screwing me up was it was using all historical data which becomes invalid at somepoint and kept screwing up the formula. Had to filter by 2 timestamps and its working exactly as expected

Hi @GabeGap ,

Congratulations on solving your problem, I read your method carefully and found it to be effective. I think it can help other members on the forum.

 

 

Best Regards

Yilong Zhou

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.