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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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