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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
kokoro_1202
Helper I
Helper I

countrow with condition and percentage

hi all,

I have a monthly sale data, with customer member type and a member database.

For example, in Jan 2020 data, there are 9 purchase by VIP(member type 1).

There are a total of 28 VIP in the database. percentage would be 32%

How can i do a visual with percentage of these 3 type of member (VIP, Member & Others).

 

I tried using countrow but got stuck along the way, can anyone help?

Attached is the sample file.

https://gofile.io/d/Ldh1AZ

 

Thank you

 

1 ACCEPTED SOLUTION

@kokoro_1202 

add a category column in the new table

1.PNG

replace with that category column 

2.PNG

for the chart, what's the expected output? could you pls create the  chart in excel first?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ryan_mayu
Super User
Super User

@kokoro_1202 

pls see the atatchment below





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@ryan_mayu 

hihi, thanks for the sharing.

I tried to use category instead of memberType, but the percent look wrong, is there a way to show it?

 

Thank you

@kokoro_1202 

add a category column in the new table

1.PNG

replace with that category column 

2.PNG

for the chart, what's the expected output? could you pls create the  chart in excel first?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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