Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have the following calculated column
Rank =
Solved! Go to Solution.
Hi @bsz412 ,
You need to filter out the blanks on the table you are making the calculation for the ranking try the following:
Rank =
RANKX (
FILTER (
ADDCOLUMNS (
CALCULATETABLE (
EPD,
ALLEXCEPT ( EPD, EPD[Country], globalproduct[ETIM_class] )
),
"AVGValue", [AVG total per ETIM and country]
),
[AVGValue] <> BLANK ()
),
[AVG total per ETIM and country],
,
ASC,
DENSE
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsPerfect, thank you!
Hi @bsz412 ,
You need to filter out the blanks on the table you are making the calculation for the ranking try the following:
Rank =
RANKX (
FILTER (
ADDCOLUMNS (
CALCULATETABLE (
EPD,
ALLEXCEPT ( EPD, EPD[Country], globalproduct[ETIM_class] )
),
"AVGValue", [AVG total per ETIM and country]
),
[AVGValue] <> BLANK ()
),
[AVG total per ETIM and country],
,
ASC,
DENSE
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThe Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |