cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Nitro
New Member

Display percentage in graph

Hi everyone,

 

i am quite new to Power BI but already watched several training videos. Currently i am working on a Power BI report which will be embedded in SharePoint Online. One of the graphs shows Sales data (ytd) and planned sales for the year. My graph (s. below) shows only total values at the moment.

What i want to add is the percentage of actuals sales compared to the planned value -> (1600/9100)*100=17,58%   How can i do this?

Capture.PNGSource Table StructureCapture2.PNG

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Display percentage in graph

Hi @Nitro ,

 

We can use the Line and stacked column chart visual to meet your requirement.

 

26.PNG

 


BTW, pbix as attached.

 

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.

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.

View solution in original post

3 REPLIES 3
Community Support
Community Support

Re: Display percentage in graph

Hi @Nitro ,

 

We can use the following measure and set it to the percentage format to meet your requirement:

 

Measure = SUM(ActualTable[Sales])/SUMX(FILTER(ALL('ActualTable'),'ActualTable'[Period]="Plan"),[Sales])

17.PNG18.PNG

 

 

 

BTW, pbix as attached.

 

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.

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.
Nitro
New Member

Re: Display percentage in graph

thank you for your reply. Is it also possible to still display the total numbers and in addition somehow also display the percentage at the same time?

Highlighted
Community Support
Community Support

Re: Display percentage in graph

Hi @Nitro ,

 

We can use the Line and stacked column chart visual to meet your requirement.

 

26.PNG

 


BTW, pbix as attached.

 

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.

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.

View solution in original post

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors