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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ponchibonos
Helper I
Helper I

Two columns as segmentation

I have a table with two columns of responsibles of a Proyect. 

Is possible to slice my data with the two columns independently?

ponchibonos_0-1675442130674.png

For example: When I selected "Ale" the slicer shows the data in wich Ale appears in both columns RESPONSABLE and RESPONSABLE 2?

 

At now, when I selected "Ale" just shows the data of the column RESPONSABLE

 

ponchibonos_1-1675442381608.png

 

Thanks in advanced

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ponchibonos ,

 

In addintion to  lbendlin's reply, you need to create an unrelated DIMRESPONABLE table and then create a measure to filter your visual.

DIMRESPONSABLE = 
DISTINCT (
    UNION ( VALUES ( 'Table'[RESONSABLE] ), VALUES ( 'Table'[RESONSABLE 2] ) )
)

Measure:

Filter = 
VAR _SELECTED =
    VALUES ( DIMRESPONSABLE[RESONSABLE] )
RETURN
    IF (
        MAX ( 'Table'[RESONSABLE] )
            IN _SELECTED
                || MAX ( 'Table'[RESONSABLE 2] ) IN _SELECTED,
        1,
        0
    )

Add this measure into visual level filter and set it to show items when value = 1. Result is as below.

RicoZhou_1-1675676767603.png

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @ponchibonos ,

 

In addintion to  lbendlin's reply, you need to create an unrelated DIMRESPONABLE table and then create a measure to filter your visual.

DIMRESPONSABLE = 
DISTINCT (
    UNION ( VALUES ( 'Table'[RESONSABLE] ), VALUES ( 'Table'[RESONSABLE 2] ) )
)

Measure:

Filter = 
VAR _SELECTED =
    VALUES ( DIMRESPONSABLE[RESONSABLE] )
RETURN
    IF (
        MAX ( 'Table'[RESONSABLE] )
            IN _SELECTED
                || MAX ( 'Table'[RESONSABLE 2] ) IN _SELECTED,
        1,
        0
    )

Add this measure into visual level filter and set it to show items when value = 1. Result is as below.

RicoZhou_1-1675676767603.png

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thanks @Anonymous this was the solution. 

 

lbendlin
Super User
Super User

You need to use disconnected slicers if you want independent filters.

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.