Forum Discussion

rhl94's avatar
rhl94
Icon for Advocate III rankAdvocate III
7 years ago
Solved

Recreating the following excel table(s)

Hi   I am looking to create a similiar table to what we currently has in excel: So far we have the data available in Power BI, but structured differently. This is how the table is structured i...
  • Icey's avatar
    7 years ago

    Hi rhl94 ,

    You can try this:

    1. In Power Query Editor, Pivot column 'Network'.

    2. Create measures.

    Total Number = SUM ( 'Table'[Network1] ) + SUM ( 'Table'[Network2] )
    Network1 % = DIVIDE ( SUM ( 'Table'[Network1] ), [Total Number] )
    Network2 % = DIVIDE ( SUM ( 'Table'[Network2] ), [Total Number] )
    Total Percent = [Network1 %] + [Network2 %]

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.