Forum Discussion

DataSkills's avatar
DataSkills
Resolver I
2 years ago
Solved

Bizarre behaviour when adding a measure to a table

Hi, this one has got me!   I have a standard table, showing Patient.Name, Level and then a calculation of hours based on this level (x3).      I created a measure called Total care m...
  • HotChilli's avatar
    2 years ago

    It's weird if you don't know what's happening but not weird if you do.  Powerbi visuals are very sensitive to the measures that are in those visuals. The visuals show combinations of data in the rows for which a measure has a value.  If the measure value is blank, the row is not displayed.<- (this is important)

    When you create a measure, for example, measureA = 1, and put that in a visual, you will see all combinations of data which produce a non-blank value in the measure.  In this case, the measure is always 1 so you get to see all combinations i.e. lots of rows.

    Now that doesn't really get you any closer to solving your original problem but that's why multiple rows are appearing in the visual.