Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Replicate Excel Pivot in Power BI

Hello All!

 

I have this Excel pivot with filters and would like to replicate this in Power BI.  

 

paulgalvemrm_0-1660638046453.png

Note that this changes based on selected filters, where Total ID = TPID Count, Actual = MEI Rank Actual and % = MEI Rank Actual over Total ID,

 

I'm struggling replicating in Power BI.  Anyone can help?  I have attached the excel file.

 

https://docs.google.com/spreadsheets/d/1SNSiCRzlLndX6j9za4ww15vIWUYFjEvc/edit?usp=sharing&ouid=10380...

 

Thanks.

PG

 

3 REPLIES 3
Anonymous
Not applicable

I was able to replicate the results of the source data from the cube, and it shows the following breakdown.

paulgalvemrm_0-1660661580908.png

This is the expected output,but something is wrong when I put another level of drilldown to it, where 

paulgalvemrm_1-1660662170426.png

INCORRECT as this one sould have still 591 in the Enterprise segment group instead of 5319. Same goes with other segment group.

 

It looks good in the cube's excel pivot, though.

paulgalvemrm_0-1660663675488.png

 

 

Thanks for your ideas @amitchandak .  Appreciate it!

Anonymous
Not applicable

Thank you @amitchandak!  I have it created it, but getting this result.

paulgalvemrm_1-1660660704130.png

 

Where Total TPID in each segment group should be 591, not the total of 591*9(5319) for enterprise.  Same goes with other segment groups.

amitchandak
Super User
Super User

@Anonymous , You can create a matrix Visual

 

Subsidiary on Row, Qtr on the column

And following values

Measures

Actual = Sum(Table[MEI Rank Actual])  // use count if needed, place of sum

Total ID = Count(Table[TPID])

 

% = divide([Actual], [Total ID])

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.