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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Tito
Helper IV
Helper IV

Rankx with Allselected

Hello everyone,
how can i get the number 3 in the map, if i select line 3 in the table.
Aufgabestellung.PNG

I have to use the ALLSELECTED (not All) function here because I want more selections in the filter.

RangAllselected.PNG
Thanks

1 ACCEPTED SOLUTION

Hi,

Sorry that I could not find a way to fix the measure when having No-disconnected table for the slicer purpose.

Please check the below picture and the attached pbix file.

For now, I suggest having a dimension table and a slicer table like below. The dimension table still filters and has relationship with a fact table. And at the same time, there is one disconnected table that acts as a slicer on the report. 

 

Picture3.png


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

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

7 REPLIES 7
Tito
Helper IV
Helper IV

Hi Jihwan_kim
The problem has (currently) been resolved.

Thank you very much

Tito
Helper IV
Helper IV

Hi,
Thank you for your message.

the relationship must exist in my data model.
What should I change now in Measure, please?

Hi,

Sorry that I could not find a way to fix the measure when having No-disconnected table for the slicer purpose.

Please check the below picture and the attached pbix file.

For now, I suggest having a dimension table and a slicer table like below. The dimension table still filters and has relationship with a fact table. And at the same time, there is one disconnected table that acts as a slicer on the report. 

 

Picture3.png


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

Click here to schedule a short Teams meeting to discuss your question.

Hi Jihwan_kim

Thank you for your help 👍

Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

I tried to create a sample pbix file like below, and I hope the below can provide you the way to find the solution for your data model.

 

Picture1.png

 

Ranking measure: =
VAR _newtable =
    FILTER ( ALL ( Data ), [Wenn Gesamt:] <> BLANK () )
RETURN
    IF (
        HASONEVALUE ( Data[Versicherer] ),
        IF (
            NOT ISBLANK ( [Wenn Gesamt:] ),
            RANKX ( _newtable, [Wenn Gesamt:],, ASC, DENSE )
        ),
        "Selecte one of lines from the table visualization"
    )

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

Click here to schedule a short Teams meeting to discuss your question.

Thank you very much.
doesn't have to be a relationship between " Slicer table" and "Data" ?
Beziehungen.PNG

Hi,

Thank you for your message.

If the relationship is there, the measure has to be written in a slightly different way.

 


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

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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