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
shekharlko23
Regular Visitor

Issue with achieving percentage of multi select variable post un-pivot.

Hi, I have data for N= 2757 respondents and have multi response answer. After unpivot of data I'm able to achieve below counts but not able to achieve below mentioned target percentages. as percentages coming up in chart is summing upto 100% . 

 

Each percentage is calculated by each Count/2757. Please suggest how to achieve below %'s

 

 Category Count  Percentage

Mobile218079%
Online264396%
Outdoor127546%
Print167761%
Radio83930%
TV112341%

 

Thanks

 

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @shekharlko23 ,

 

i created this measure:

Measure = 
IF(
    HASONEVALUE('Table'[Category])
    , DIVIDE(SUM('Table'[Count]) , 2757)
    , BLANK()
)

This allows to create this table visual ...

image.png

... but I have  to admit that I do not have an idea what you are looking for.

 

If you are looking for a certain visual, please attach an image, just make a sketch that allows to understand what you want.

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey @shekharlko23 ,

 

i created this measure:

Measure = 
IF(
    HASONEVALUE('Table'[Category])
    , DIVIDE(SUM('Table'[Count]) , 2757)
    , BLANK()
)

This allows to create this table visual ...

image.png

... but I have  to admit that I do not have an idea what you are looking for.

 

If you are looking for a certain visual, please attach an image, just make a sketch that allows to understand what you want.

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi @TomMartens , Thanks for your help.

 

I was able to achieve these % within clustered column chart, is this correct chart to represent multi select %'s?

Also how can I add % sign to these numbers in measure?

Thanks!

 

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.

Top Solution Authors