Forum Discussion

RolandBAV's avatar
RolandBAV
New Member
2 years ago
Solved

Add Row with Percentage to Table visual

Hi everybody   This is my first post in this forum and I am new to Power BI.   Actually I am creating a dashboard on which I would like to show the total sum of sales in one row and the percentag...
  • amitchandak's avatar
    2 years ago

    RolandBAV , Create measures

     

    sales = Sum(Table[Sales Value])

     

    Clients = distinctcount([client ID])

     

    % of Sales = divide([sales], calculate([sales], removefilters(Table[Market Area])) )

     

    % of client = divide([Clients], calculate([Clients], removefilters(Table[Market Area])) )

     

     

    You can now use these measures on Matrix visual- With option - Switch values to row

     

    Switch values to row - https://youtu.be/cN8AO3_vmlY?t=11650

     

    Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
    https://www.youtube.com/watch?v=cN8AO3_vmlY&t=24270s

     

  • Uzi2019's avatar
    Uzi2019
    2 years ago

    Hi RolandBAV 

    If you just wanted to do pivot ofyour data just take matrix visual and enable this option under value section

     

     

    take your market in column section and sales and percentage in value section

     

     

     

    I hope i answered your question!