Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to create a matrix-like table in the data view?

Hi everyone,   I need your help with the following. I've been struggling for hours 😞   I uploaded the following table as an Excel file into BI desktop.   Incident Type Incident Date Hospi...
  • PaulDBrown's avatar
    PaulDBrown
    5 years ago

    Anonymous 

    See if this works for you. First the model:

     

    Now the measures:

    Count of Injuries = COUNT('DataTable'[Incident Type])
    Population = SUM(Population[Population])
    Injuries per 1000 population = 
    DIVIDE([Count of Injuries], [Population]) * 1000

     

    And this is the result:

     

    I've attached the PBIX file for you