Forum Discussion

WilliamAzevedo's avatar
WilliamAzevedo
Advocate II
3 years ago

Different shapes for different data

Hi, everyone.

 

I've created a simple database system for hazard information in my workspace and now i need to create reports to use as hazard maps.

In my system I have five color coded types of hazard and three degrees of it: small, medium and large. Since tje Access report tool seemed to be too complicated for me to achieve that, is it possible to make shapes which formatting represent the degree of risk (a small circle for small risk and so on) and it's corresponding color in Power BI?

Thanks in advance!

3 Replies

  • Thank you for your reply amitchandak!

    I have to admit I'm stuck in the value I should associate. Since in this case I'm not dealing with numbers, but with categories, I really don't know where to begin from. Here's what would be my table:

     

    Unidade (Location)Risco (Risk)Tipo (Type of Risk)Grau (Degree)
    ALMOXARIFADOArranjo físico inadequadoAcidentePequeno
    ALMOXARIFADOEletricidadeAcidenteGrande
    ALMOXARIFADOPiso irregularAcidentePequeno
    ALMOXARIFADOFungosBiológicoMédio
    ALMOXARIFADOCalorFísicoMédio
    Booster BarreirasEletricidadeAcidenteGrande
    Booster BarreirasBactériasBiológicoPequeno
    Booster BarreirasFungosBiológicoPequeno
    Booster BarreirasRuídoFísicoGrande
    Booster BarreirasPoeiraQuímicoGrande
    BOOSTER GALHARDOFerramentas inadequdas ou defeituosasAcidentePequeno
    BOOSTER GALHARDOVírusBiológicoMédio
    BOOSTER GALHARDOIluminação inadequadaErgonômicoMédio
    BOOSTER GALHARDOCalorFísicoGrande
    BOOSTER GALHARDOCalorFísicoPequeno

     

    As you can see, there are no numbers, I will use a segmenter to set the Location and then i need the circles (preferably) to describe the risks by color (Type of Risk) and size (Degree) of that Location.

  • Hi.

     

    If eventually it can help anyone else, I think I achieved the report design I needed.

    As said before, I have 5 Types of Risk (Tipo), each type with 3 Degrees (Grau). I inserted one Pie visual to each risk possibility (total of 15) and created measures filtering risks by Degree (Risco Grande, Risco Médio and Risco Pequeno). Then I used the Risk (Risco) in the Legend field of the visual and the Risk Degree measure in Values, filtering by Type of Risk. Finally, inserted my slicers and it's working so far! I believe it's not as elegant as it could be, or even as I would like it to be (I have to set the Risk color manually by slice), but, it fullfills it's purpose.

    Thank you amitchandak for the input. Your suggestion was the spark I needed to do this!

    Here's some screenshots of the result: