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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Shloka_Lakhani
Frequent Visitor

Want to Display Data label as Category name with value percentage

Hello,

I want something like: 

Shloka_Lakhani_0-1716468115535.png


And i am stuck over here. I have created something like:

Shloka_Lakhani_1-1716468171941.png



I appreciate your prompt response in advance, as it would be very helpful for me.

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @Shloka_Lakhani ,

 

(1) Here's my test data.

vtangjiemsft_0-1716515678194.png

(2) Then create a measure.

Measure = 
var _a=SUM('Table'[Value])
var _b=CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[Type1]))
RETURN DIVIDE(_a,_b)

(3) The result is then as follows.

vtangjiemsft_1-1716515803468.png

 

Best Regards,

Neeko Tang

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

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @Shloka_Lakhani ,

 

(1) Here's my test data.

vtangjiemsft_0-1716515678194.png

(2) Then create a measure.

Measure = 
var _a=SUM('Table'[Value])
var _b=CALCULATE(SUM('Table'[Value]),ALLEXCEPT('Table','Table'[Type1]))
RETURN DIVIDE(_a,_b)

(3) The result is then as follows.

vtangjiemsft_1-1716515803468.png

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors