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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
hhari
Regular Visitor

Percentage of text values

Hi,

 

I need to find the percentage of survey having rounds "pilot" and "1" with values Green, Red and Yellow.  for example, in Round "Pilot" - Green = 200, Yellow - 100, Red = 36 and In round "1" - Green =400, Yellow =130, Red = 40. Result should be like for Round Pilot - Green = 60%, Yellow = 30%, Red = 10% 

Round "1" -  Green = 70%, Yellow = 23%, Red = 7% 

 

need to represent this data in a line graph.

 

Kindly advise.

2 REPLIES 2
mahenkj2
Solution Sage
Solution Sage

Hi @hhari 

 

If I understood correctly, your sample is like below and you need to see result 'working' as below:

mahenkj2_1-1685864682819.png

Possibly you can use formula as below:

 

mahenkj2_2-1685864744621.png

 

Here in the visual we are using two columns, Round and color, so as a row context we are filtering individual values and then in denominator we are removing filter of all colors.

 

Hope it helps!

 

Apologies for the inaccurate information. Kindly refer to the provided screenshot displaying the raw data. Our objective is to present this data in the form of a line graph, as shown below. We aim to determine the frequency of values in the raw data and visualize it using a line graph. Your assistance in this matter would be greatly appreciated.

 

Raw data
round.JPG

Result

 result.JPG

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.