Forum Discussion

haniizz's avatar
haniizz
Icon for Helper II rankHelper II
2 years ago
Solved

Help with Visualization of values

Hello community    I have measures values as following Poverty = 45% Disease = 62% unemployment = 33% I need to visualize this in Stacked Column Chart how can I do this , knowing these v...
  • talespin's avatar
    talespin
    2 years ago

    hi haniizz 

     

    Step1: Create a Category table, and sort Category name by sort column(Column tools > Sort By Column).

     

     

    Step2 :

    Create this measure

     

    Measure By Category =
    VAR _SelCategory = SELECTEDVALUE(Categody[Sort])

    RETURN IF(_SelCategory = 1, [POVERTY REDUCTION], IF(_SelCategory = 2, [DESEASE REDUCTION], [UNEMPLOYMENT REDUCTION]))
     
    Step3 : In a Stacked Column chart, drop Category on X-Axis and New Measure on Y-Axis.
     

     

    Hope this helps.