Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Mark,
if I unterstood you well, you need a rank on an expression which is a sum of ranks on two other columns. If it is so, check my solution.
Rank by Bounce Rate - I think you already have this part.
Rank by Bounce Rate = RANKX(TestTable; TestTable[Bounce Rate];;ASC)
Rank by Spendings - the same as Bounce Rate.
Rank by Spendings = RANKX(TestTable; TestTable[Spendings];;ASC)
And the last one uses the same function RANKX, but as an expression for sorting is a sum of those two ranks.
Rank by Sum = RANKX(TestTable; TestTable[Rank by Bounce Rate] + TestTable[Rank by Spendings];;ASC)
Hi Mark,
please check the screenshot and tell me, if the output is the result you expect.
In the last column you see the value which is used for the final ordering.
Thanks 🙂
There is a problem: Rank by spendings is 1 everythere.
Hmm, I see, then please send me the formula you use for the calculation of the Rank by spendings.
Aha, please remove the SUM from your formula. You want to rank by the row value of the column, not by a SUM of values in a column.
And what is the grouping column which you would like to have for summing of groups?
For all atributes. Eventually I want see rating from most important to less important ads for ads with the largest spendings and bounce rate.
Could you please write an SQL for that? Maybe after that it'll be clearer what are your expectations.
Thanks 🙂
I can't give you SQL, but I have broad table like this https://dropmefiles.com/S9djd
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 64 | |
| 31 | |
| 29 | |
| 24 |