Forum Discussion

apostol-raf's avatar
apostol-raf
New Member
6 years ago
Solved

plot graphics Power BI

MessageID topic1 topic2 topic... topicN Autor id1 1 1 1 1 client id2 0 0 0 0 client id... 1 0 0 1 salesman id N 1 1 0 1 salesman I want to plot bar -chat, where X-axis is topic1, topic2, topic...
  • v-lid-msft's avatar
    v-lid-msft
    6 years ago

    Hi apostol-raf ,

     

    We need unpivot the topic columns first in power query editor:

     

    then we can create a measure to show the value

    Measure = DIVIDE(SUM('Table'[Value]),CALCULATE(SUM('Table'[Value]),ALL('Table'[Attribute])))

     

     


    If it doesn't meet your requirement, Could you please show the exact expected result based on the Tables that you have shared?


    By the way, PBIX file as attached.


    Best regards,