Forum Discussion

swwong1's avatar
swwong1
Helper III
6 years ago
Solved

Do inactive relationships affect DAX?

Hi All   I have created a 10-day rolling revenue DAX measure and I have a query about the blank row on the matrix. I have asked the online instructor from my course and they have replied "Power BI ...
  • swwong1's avatar
    6 years ago

    Hi All

     

    Was reading about inactive relationships and they mentioned something about table expansion where a left outer join is used from the many-to-one side of the tables; including inactive relationships. If the "many" to the "one" side doesn't exist, a blank virtual row is added to the "one" side table.

     

    Based on the above, as my "many" side (stock date) to the "one" side doesn't exist, a blank row was created in the "one side" which probably explains why there is a blank row before 1/1/2015. I guess it isn't really due to DAX but this behavior was shown when using one of the DAX formulas.

     

    Link is below (3/4 of the page on the above point):

    https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-relationships-understand