Forum Discussion

HinkaSt's avatar
HinkaSt
Frequent Visitor
10 months ago
Solved

Paginated report dynamic subscription including indirect reports

Dear community,  I'm looking for a solution for the following case. I have a Power BI paginated report, for which I want to create a dynamic subscription. I want however for managers to receive data...
  • HinkaSt's avatar
    HinkaSt
    10 months ago

    Hi,  Anonymous ,
    No I didn't submit an idea in the Ideas Forum. I've already done this about a different topic. Still waiting for feedback there. 🙂 I decided to ask instead an experienced colleague in our company and he offered me a working solution. The solution is to write the DAX query for each dataset in the following manner:

    EVALUATE

    FILTER(

        SUMMARIZECOLUMNS(

            'Exams'[Employee Name],

            'Exams'[Exam Name],

            'Exams'[Exam Date],
            'Exams'[HierarchyPath]

            'Exams'[Manager BambooHR ID]

        ),

        PATHCONTAINS(Employees[HierarchyPath], @ManagerBambooHRID)

    )

    Here "HierachyPath" is a custom column, made in the semantic model holding the management chain for each person, received by using the PATH function.

    This sucessfully produced a filter, showing both direct and indirect managers, without using RLS.