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
NavaneethaRaju
Helper IV
Helper IV

Need the percentage calculation

Hi @amitchandak ,

i created a measure that have target, and the data bars have the acheived counts, i want to show the same values in % wise. 

my target is 57. here 57 is 100%.

I want to show the bar values in percentage.

 

Please help this.


NavaneethaRaju_0-1651231241981.png

 

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

Hi @NavaneethaRaju ,

 

I suggest you to create a measure.

Percentage = 
VAR _VALUE = SUM('Table'[Value])
VAR _TARGET = 57
RETURN
DIVIDE(_VALUE,_TARGET)

Select Percentage Formart in Measure tools.

RicoZhou_0-1651556645095.png

Result is as below.

RicoZhou_1-1651557037024.png

 

Best Regards,
Rico Zhou

 

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

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @NavaneethaRaju ,

 

I suggest you to create a measure.

Percentage = 
VAR _VALUE = SUM('Table'[Value])
VAR _TARGET = 57
RETURN
DIVIDE(_VALUE,_TARGET)

Select Percentage Formart in Measure tools.

RicoZhou_0-1651556645095.png

Result is as below.

RicoZhou_1-1651557037024.png

 

Best Regards,
Rico Zhou

 

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

Hi @v-rzhou-msft ,

 

the idea that you gave previously its helped, Now i'm facing the issue in same constant line. in previously I'm having only one month of data. Now i'm having 4 months of data. there i created report using your idea, In percentage tab the constant line positions are not matching.

I enclosed the two images, please look into this. 

 

I need constant line in same as in values tab. Please advice is i need to create any measure for values or constant line.

Note: In percentage page i put constant line values as 1.

 

NavaneethaRaju_0-1652359110612.png

NavaneethaRaju_2-1652359427615.png

 

 

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.