Forum Discussion

AshDil's avatar
AshDil
Icon for Helper V rankHelper V
4 years ago
Solved

Want to show custom matrix table

Hi, I want to show the data in following custom matrix format Category Unit of Measure Size Jan Feb salt Kg Actual 40 60   kg Medium 50 70   Kg High 60 120   % Accu...
  • AshDil's avatar
    AshDil
    4 years ago

    Hi Icey ,

    The actual,medium and high are coming from my dataset. 

    So I write a calculation as follows

    Calculation = If(Hasonevalue('Table[Size]'),'Table'[Size],Divide('Table'[Actual Value],'Table'[High Vale]))
    I have renamed this Calculation (Divide('Table'[Actual Value],'Table'[High Vale])) as Accuracy.

    Finally used that column in visual.

    Thanks,

    Ashdil