Forum Discussion

EMKody's avatar
EMKody
New Member
3 years ago
Solved

Data not passing through dataflow

Hi all,   Thanks in advance for any help. I am new to PQ and have been trying to learn it as I go! Currently I am using a dataflow to grab two tables from Salesforce. After they are in PQ and I cle...
  • BA_Pete's avatar
    3 years ago

    Hi Kody,

     

    Table visuals in Power BI automatically aggregate similar values to the fewest possible rows within the data context.

    In your example, if you put the column that contains "HBA of Winton-Salem" (let's call it [Column1]) into a table visual, you would just get a single row with that value in it. However, if you then added one of the columns from the merged table that has a different value for each instance of "HBA of Winton-Salem" ([Column2]), the table visual will duplicate "HBA of Winton-Salem" in order to display all the different [Column1] : [Column2] combinations.

    This behaviour is by design and makes perfect sense in all but the most edge-case of reporting scenarios.

     

    As an aside, merging tables to create larger tables with duplicated rows/values in this way is inefficient in processing resources, file size, and model responsiveness. The most efficient way to handle this scenario would be to send both tables to the data model unmerged, then create a relationship between the two tables on the field that you previously merged them on (it looks like this relationship would default to Table1 ONE : MANY Table2).

    This will give you the same functionality and usability of the data, but will speed up refresh times by removing the processing overhead required for the merge, reduce your file size by removing duplicated values due to the merge, and improve model response times by Power BI being able to scan smaller tables.

     

    Pete