Forum Discussion

dt_mc's avatar
dt_mc
Frequent Visitor
8 years ago
Solved

Path and Matrix

Hi i have 5 columns (last is derived via DAX) ID | Parent_ID | Employee | Salary | Path   what i would like is to have a recursive roll-up for drill down  so like: Manager   Assistant Manager ...
  • ChrisMendoza's avatar
    ChrisMendoza
    8 years ago

    dt_mc,

     

    [mPath] was created in your DAX calculated column or is that in your original dataset?

     

    If it was in DAX, then why not continue with the article's example model?

    If it is in your original dataset then I may not be able to assist further other than to say transform [mPath] to look like the article's model using a method like https://www.nimblelearn.com/using-dax-to-split-delimited-text-into-columns/ to create [lvl1], [lvl2], etc.

     

    I created a sample from scratch and followed the example model to produce:

     

    from:

    IDParent_IDEmployeeSalary
    12Mike3000
    25Sally5000
    32Diane3000
    45Randy5000
    5 Alan6000
    61David2000
    74Susan3000
    85Carrie4000
    98Luther3000
    105Max5000