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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
diskovered
Helper III
Helper III

DAX for 'breadcrumb'

I have this DAX for my current breadcrumb. I would like to extend it and hoping somebody can help me.

 

How do I extend this this to access multiple selectedvalue ie:

 

SELECTEDVALUE('Employee'[Company,"") OR

SELECTEDVALUE('Employee'[Union,"") OR

SELECTEDVALUE('Employee'[Department,"") OR

 

I want to be able to show in the breadcrumb everything user selects via card visual (slicer or any visualization)

 

EmployeeTreeBreadCrumb = 
VAR myBreadcrumb =
SELECTEDVALUE('Employee'[Company,"") & 
IF ( ISFILTERED ( 'Employee'[Department]), " > ", "" )

& SELECTEDVALUE('Employee'[Department],"")
    
    VAR IsItFiltered =
    IF ( ISFILTERED ( 'Employee'[Company]), myBreadcrumb, "Company Selected" )
RETURN
    IsItFiltered
1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @diskovered ,

 

As I know in your formula all the columns are in the same table, it is hart to achieve your goal. Could you please share your sample data and excepted result to me if you don't have any Confidential Information.Please upload your files to One Drive and share the link here.

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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