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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Syndicate_Admin
Administrator
Administrator

Remove some data from the totals.

Good.

I have a Ranking that works properly, created with the following measure:

Ranking =
RANKX(
FILTER(
ALL(With),
With[UGC] = SELECTEDVALUE(With[UGC])
),
CALCULATE(
MAX(With[IC])
),
,
DESC,
Dense
)
My problem comes when visualizing it in the table, which appears in the Totals of the table and brings confusion, I show a screenshot:
Aguirre_0-1708593955231.png

I want to remove the 1 that appears in Red

1 ACCEPTED SOLUTION

Sorry for the delay.

Perfect, I got what I needed:

Aguirre_0-1708940487943.png

Greetings and thank you very much.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Syndicate_Admin ,

Please have a try.

Create a measure based on the [Ranking].

result =
VAR _b =
    SUMMARIZE ( 'with', 'with'[IC], "aaa", 'with'[Ranking] )
RETURN
    IF ( HASONEVALUE ( 'with'[IC] ), [Ranking], BLANK () )

Eventually this 1 will be blank.

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Sorry for the delay.

Perfect, I got what I needed:

Aguirre_0-1708940487943.png

Greetings and thank you very much.

DataInsights
Super User
Super User

@Aguirre,

 

Try using the RANK function instead of RANKX. It's more robust and handles total rows properly.

 

https://www.sqlbi.com/articles/introducing-the-rank-window-function-in-dax/ 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors