cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
DHB
Helper IV
Helper IV

Show percentage of all records rather than the top 5 shown in crosstab

I’m filtering a cross tab to show a top five (by sum).  I have the same top 5 in another cross tab by % of column total.  It calculates that % just from those 5 countries though, and add up to 100%, rather than from all countries (so that the sum of those five percentages ≠100), which is what I want.

 

DHB_0-1676857906543.png

 

 

Can anyone offer any suggestions?

 

Thank you!!

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.  See the last table.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
DHB
Helper IV
Helper IV

Thank you @Ashish_Mathur that does what I need perfectly.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

In the first place, the Top 5 do not seem to be Year wise becuase in different years, the top 5 countries could be different (so there should be more than 5 rows there).  Please clarify this even before we get on to getting the correct %'s.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur 

 

Yes, that's true.  I'm using the top 5 from all years combined.  So the five shown in any given year might all be different but I'm not worried about that.

 

DHB

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur sorry for the late reply.  I've recreated the issue with some sample data 

PBIX

XLSX

Hi,

You may download my PBI file from here.  See the last table.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors