cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors