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
stanleyaja
Regular Visitor

Related Rows from Filtered Value

Hello! I am trying to take a related rows from filtered value. Here's my data:

AlphaNum (String)
 A 1
 B 1
 C 1
 D 2
 E 2
 F

 3

 

I'm trying to make a drill-through page with the "details" inside it, first element is card, when the filtered Alpha is C, then show C on the card, and then the second element is table which shows any related Alpha that is the same Num as the filtered Alpha.
Example if the filtered Alpha is B:
Card: 

 B

Related Alpha:

Related Alpha
 A
 C

 

Thanks for any help 🙂

1 ACCEPTED SOLUTION
ThxAlot
Super User
Super User

Easy enouogh, nothing but juggleing with filter context,

ThxAlot_0-1705925756575.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



View solution in original post

4 REPLIES 4
ThxAlot
Super User
Super User

Easy enouogh, nothing but juggleing with filter context,

ThxAlot_0-1705925756575.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Jihwan_Kim
Super User
Super User

Hi,

I am not sure how your semantic model looks like, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file whether it suits your requirement.

Jihwan_Kim_1-1705896372738.png

 

 

Jihwan_Kim_0-1705896362431.png

 

 

Card visual measure: = 
CONCATENATEX(Slicer, Slicer[Alpha], ", ")

 

Related Alpha measure: =
VAR _slicerselect =
    VALUES ( Slicer[Alpha] )
VAR _number =
    SUMMARIZE (
        FILTER ( ALL ( Data ), Data[Alpha] IN _slicerselect ),
        Data[Num (String)]
    )
RETURN
    CONCATENATEX (
        FILTER (
            Data,
            NOT ( Data[Alpha] IN _slicerselect )
                && Data[Num (String)] IN _number
        ),
        Data[Alpha],
        ", "
    )

 

 


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 so much for the reply, but I'm not particularly sure about the filter system in Power BI, on my end, i use "Drill through" filters instead of "Filters" pane. Also I only have 1 data which consists Alpha and Num(String) with no slicer, iirc, Drill-through page is a filtered page depends on which value we selected on the previous page.
I've tried SELECTEDVALUE(Data[Alpha) to detects which Alpha is currently filtered, and FILTER() to return multirow Data, but I always got "The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value." error.

HI,

Thank you for your message. 

One of the reasons why I create a disconnected slicer table is because,

-> selected value is shown on the card visual, but on the table visual.

 

I started from here to consider how to model the data.

 

Thank you.


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
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.