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
Anonymous
Not applicable

How to create this visual with percentages as data labels ??

Desired view :-

Values :- Sum of (Marks) 

legend :- Category (A,B)

Axis :- Area Name

 

Capture.PNG

 

3 REPLIES 3
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can make a stack bar chart easily but we did not found an effective way to  put percent value of each category as data label. We can create a measure in Tooltips field as a workaround.

 

Percent = DIVIDE(CALCULATE(SUM('Table'[Marks])),CALCULATE(SUM('Table'[Marks]),FILTER(ALL('Table'), [Aera] in FILTERs('Table'[Aera]))))

 

21.jpg 


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I use my data set and just create a stack bar:

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.

Top Solution Authors
Top Kudoed Authors