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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Killness
Regular Visitor

Error

 

 

 

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Killness ,

 

Please allow me to explain the reason for this issue. When you drill down, the result only displays the selected ZONAMERCADO. Regardless of which ZONAMERCADO you choose, the result is a single record, so its rank will always be 1.

 

As a solution, I recommend creating a calculated table that links to the original table. In this calculated table, you can create a new column to calculate the rank value and display this rank in the tooltips. This approach ensures that the rank remains accurate, as it won’t be dynamically affected by the drill-down process.

 

I’ve a test for your reference:

1\My data source:

FOBPRODUCTOR

vbofengmsft_0-1724918981959.png

 

 

2\Crate a calculate table:

 

NewTable =

ADDCOLUMNS(

    SUMMARIZE(

        ALL(FOBPRODUCTOR),

        FOBPRODUCTOR[ZONAMERCADO],

        "TotalValue", SUMX(FOBPRODUCTOR, FOBPRODUCTOR[Value])

    ),

    "Ranking", RANKX(

        SUMMARIZE(

            ALL(FOBPRODUCTOR),

            FOBPRODUCTOR[ZONAMERCADO],

            "TotalValue", SUMX(FOBPRODUCTOR, FOBPRODUCTOR[Value])

        ),

        [TotalValue], , DESC, DENSE

    )

)

 

3\ model view

vbofengmsft_1-1724918981964.png

 

4\Tooltips page

vbofengmsft_2-1724919000234.png

 

5\Result

 

vbofengmsft_3-1724919000236.png

 

 

Best Regards,

Bof

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.  Not sure how much i can help but i would like to try.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.