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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
MichelleTW729
Helper I
Helper I

TopN +Others use toolhint

I have report do martix table with drill down ,

i want use tooltip to show red frame data .

when mouse move to left table , can tell the how many cases of  dimension "serverity" 

use topN+others . 

MichelleTW729_0-1750127796802.png

 

1 ACCEPTED SOLUTION

Thank you for quick provide solution.

I just find the other way is what i looking for .

https://www.sqlbi.com/articles/filtering-the-top-products-alongside-the-other-products-in-power-bi/

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @MichelleTW729 ,

Thank you for the helpful response @Jihwan_Kim !
The provided information is accurate and address your issue. I just wanted to kindly follow up to see if you had a chance to review the previous response provided by Jiwan. I hope it was helpful. If yes, please Accept the answer so that it will be helpful to others to find it quickly.If you have any further questions, feel free to reachout!

Thank you.

Regards,
Pallavi.

 

Jihwan_Kim
Super User
Super User

Hi, 

I tried to create a sample pbix file like below, and please check the below picture and the attached pbix file.

I tried to use WINDOW DAX function to generate TOPN values.

 

WINDOW function (DAX) - DAX | Microsoft Learn

 

Jihwan_Kim_1-1750131290301.png

 

 

Jihwan_Kim_0-1750131276030.png

 

WINDOW function (DAX) - DAX | Microsoft Learn

 

Case Top N: = 
VAR _topN = 'TopN'[TopN Value]
VAR _t =
    WINDOW (
        1,
        ABS,
        _topN,
        ABS,
        ALL ( serverity[serverity], serverity[sort] ),
        ORDERBY ( [Case:], DESC )
    )
VAR _others =
    CALCULATE ( [Case:], ALL ( serverity[serverity], serverity[sort] ) )
        - CALCULATE ( [Case:], _t )
RETURN
    SWITCH (
        TRUE (),
        SELECTEDVALUE ( serverity[serverity] ) = "Others", _others,
        HASONEVALUE ( serverity[serverity] ), CALCULATE ( [Case:], KEEPFILTERS ( _t ) ),
        [Case:]
    )

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Thank you for quick provide solution.

I just find the other way is what i looking for .

https://www.sqlbi.com/articles/filtering-the-top-products-alongside-the-other-products-in-power-bi/

Anonymous
Not applicable

Hi @MichelleTW729 ,
Glad to hear you have found a solution! If  the issue has been resolved, please mark your post as answer. That way, others with similar issues can more easily find a solution .If you have any  questions, feel free to reach out !
Thank you.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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