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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Jay_Lu
New Member

Using correlation to predict/estimate missing values

I'm struggling to get estimate missing numbers based on a pair of actual figures

Table1 is a complete information

Ranking Sales 
3          82,967.41
46          44,405.98
52          42,306.70
103          32,884.98
111          31,854.20
123          30,021.46
134          28,735.09
160          25,503.01
169          24,626.69
185          23,213.10
192          22,175.79
208          20,877.77
214          20,370.58
248          17,722.25
299          13,091.64
300          12,918.88
307          12,153.49
308          12,121.66
324          11,089.06
361            8,369.43
365            8,175.49
408            5,769.83
409            5,599.31
411            5,520.38
432            4,439.53
468            2,802.01

 

And Table2:

Ranking Sales 
1 
2 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
47 
48 
49 
50 
51 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 

 

Is there any way I can calculate the correlation in Table 1 and predict all sales in Table 2?

The ranking is just purely based on the sales.

Thanks!

2 REPLIES 2
Anonymous
Not applicable

HI @Jay_Lu,

I suppose the ranking formulas are calculated based on the detail level records, when you use it on table visual these records have been aggregated the sales values with the current category. 

For this scenario, I think you may need to change the formula to ranking records based on group. You can take a look at the following blog if helps:

RANKX on multiple columns with DAX and Power BI - SQLBI

Regards,

Xiaoxin Sheng

Hi Xiaoxin,

 

Thanks for your suggestion, but my case would be different.

 

So the ranking is actually from an extenral source, and I lookupvalue the sales via the person's name.

 

By saying that, we know all people's ranking, and some salespersons' sales firgues, and now we want to estimate those missing sales with confirmed rankings.

 

I initially thought to calculate the correlation between known rankings and turnover, and then use a model to predict the missing values. But just don't know how to. maybe there is other way

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.