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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors