Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Solved! Go to Solution.
Alrright, I see what went wrong.
We need to divide the value by the number of survey IDs:
Weighted Rank =
DIVIDE(
SUM( 'Survey'[Rank Value] ),
CALCULATE(
COUNTROWS(
VALUES( Survey[_id] )
),
ALL( Survey[Value] )
)
)
Where "value" is actually the category (food, health, etc.).
Yes, it did!
Thanks a lot for the help 🙂
Assuming you have a column Survey[Rank Value] with the results 1,2,3,4,
Weighted Rank=
DIVIDE(SUM('Survey'[Rank Value]), COUNTROWS('Survey'))
See the sample table layout that I've assumed you have.
If it's a pivoted table (a column for each rank), unpivot it usinp the query editor.
Thank you for the suggestions. I already tried reshaping my original data.
Tried your formula as well, which is not working as well.
Original Data -
Reshaped Data-
Alrright, I see what went wrong.
We need to divide the value by the number of survey IDs:
Weighted Rank =
DIVIDE(
SUM( 'Survey'[Rank Value] ),
CALCULATE(
COUNTROWS(
VALUES( Survey[_id] )
),
ALL( Survey[Value] )
)
)
Where "value" is actually the category (food, health, etc.).
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |