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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dinesharivalaga
Helper II
Helper II

how to segment percentage wise values from the table?

Hi All,

 

I want to get a partition of my percentage values from the table .

for example i want to create a pie chart for the below % values like 10 to 30% , 30 to 50% & 50 to 80% 

Based on this segments i will show the total counts under those segments covered in the pie chart.

Below the data from my table :

dinesharivalaga_0-1714644721130.png

here 28% means it wil come under 10 -30% segment .

Like wise i want to split it .

Please help to sort this scene ..

 

 

Thanks

DK

2 ACCEPTED SOLUTIONS
v-rongtiep-msft
Community Support
Community Support

Hi @dinesharivalaga ,

Please have a try.

Create a column.

Column =
IF (
    ( 'Table'[YTD CM%] ) > 0.1
        && ( 'Table'[YTD CM%] ) <= 0.3,
    "10%-30%",
    IF (
        ( 'Table'[YTD CM%] ) > 0.3
            && ( 'Table'[YTD CM%] ) <= 0.5,
        "30%-50%",
        IF (
            ( 'Table'[YTD CM%] ) > 0.5
                && ( 'Table'[YTD CM%] ) <= 0.8,
            "50%-80%",
            BLANK ()
        )
    )
)

vrongtiepmsft_0-1714701834784.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

 

View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

I have solved a similar problem in the attached PBI files.


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

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

I have solved a similar problem in the attached PBI files.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-rongtiep-msft
Community Support
Community Support

Hi @dinesharivalaga ,

Please have a try.

Create a column.

Column =
IF (
    ( 'Table'[YTD CM%] ) > 0.1
        && ( 'Table'[YTD CM%] ) <= 0.3,
    "10%-30%",
    IF (
        ( 'Table'[YTD CM%] ) > 0.3
            && ( 'Table'[YTD CM%] ) <= 0.5,
        "30%-50%",
        IF (
            ( 'Table'[YTD CM%] ) > 0.5
                && ( 'Table'[YTD CM%] ) <= 0.8,
            "50%-80%",
            BLANK ()
        )
    )
)

vrongtiepmsft_0-1714701834784.png

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

 

 

 

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.