Forum Discussion

rmsolfest's avatar
rmsolfest
Icon for Advocate II rankAdvocate II
5 years ago
Solved

Use existing Power BI Dataset (with relationships) in Report Builder

I created a related set of tables in Power BI for use with Row-Level Security (RLS).  I now want to use the same related dataset in Report Builder for paginated reports and RLS.  In my testing it app...
  • rmsolfest's avatar
    5 years ago

    Thanks Link - This was a helpful tip to use UserID (similar to USERNAME in Power BI).

     

    SOLUTION DISCOVERED WITHOUT RECREATING A FLATTENED PARALLEL POWER BI DATASET:  Details below...

     

    PROBLEM:  I still don't fully understand the conflicting messages of a using a Power BI dataset with relationships.  Report Builder was not automatically cascading the filter from the parent tables to the child table. 

     

    For example if the Dates[Date] table has a 1 to many relationship Orders[SaleDate], one cannot just bring in columns from both tables and filter on Dates[Date]=03/10/2021.  I was expecting this to only show me the Orders[SalesDate]=03/10/2021.

     

    SOLUTION:  However, I was able to get to a solution by my Report Builder Dataset using DAX SUMMARIZECOLUMNS to effectively create the desired flat data table.  What I realized is that the DAX relationship functions (e.g.: RELATED, RELATEDTABLE) work on the Power BI model to enable one to construct the cascaded filtering that I needed. 

     

    I am now thinking that this is how one "can create reports that use relational and multidimensional data from...Power BI datasets" that is referenced in Report Builder even though it does not automatically cascade filters like in Power BI.

     

    If you know of a simpler or more elegant way of leveraging the Power BI relationships in Report Builder, please share with the community.  Thanks in advance!