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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.