Forum Discussion

jx85854's avatar
jx85854
Frequent Visitor
2 years ago
Solved

Calculating Total Expense based on page filters when user selects parent from list of dim members

Hi everyone,   I am trying to use a URL to pass filters to a published Power BI report. The URL works. I can see the page filters on the filter panel and I see data when selecting a department at t...
  • jx85854's avatar
    jx85854
    2 years ago

    Hey Liu,

     

    I wanted to thank you again for your time. I was able to figure out a solution that worked for my use case. It may not be pretty or efficient but it works and I will use until I can find a better solution. If you have any suggestions to improve, please let me know.

     

    To summarize, I created a second department calculated table, with no relationships, and used the selectcolumns function to bring in columns from the original deptdimension table. I then used this table as a filter in my URL and used the members from this "disconnected" table to get a selected value. I then used this selected value to determine if it exists in path column from my original deptdimension table. If so, I encorporated your "flag" suggestion and show members if the selectedvalue is in path from my deptdimension table. 

     

    I'm new to the community and couldnt find a way to attach my sample PBI. If there is way to do so, please let me know. I can upload file in case helpful to anyone that may be struggling with same scenario. Thanks again for the help!

     

     

     

     

    Best regards,

     

    Jose