Forum Discussion
RANKX for table visual with fields from multiple source tables
- Anonymous2 years ago
Hi MitSom_1 ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Table1:Table2:
Relationship:
1.Create a new table which add table 1 followed by table 2's AREA column
Table = ADDCOLUMNS ( table1, "Area", LOOKUPVALUE ( table2[Area], table2[SupplierCode], table1[SupplierCode] ) )2.Rank by Points column(Create a new column)
Rank = RANKX(ALL('Table'), 'Table'[Points])3.Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi MitSom_1 ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:
Table1:
Table2:
Relationship:
1.Create a new table which add table 1 followed by table 2's AREA column
Table =
ADDCOLUMNS (
table1,
"Area", LOOKUPVALUE ( table2[Area], table2[SupplierCode], table1[SupplierCode] )
)
2.Rank by Points column(Create a new column)
Rank = RANKX(ALL('Table'), 'Table'[Points])
3.Final output
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly