cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Percentage of all revenue measure

Hello guys, I've got a measure called MONTHSUM which returns the sum of the last month, and another one called REVENUESUM which returns the total sum. What I want is the percentage of revenue of MONTHSUM, so I divided MONTHSUM / REVENUESUM and configured the cardchart to give percentage value, but it returns 100%. I wanted it to return the percentage of all revenue, like december revenue is 0.04% of all revenue ,something like that
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey Ryan, thanks for you answer! I've just discovered the problem, it was only necessary to click on the percentual button located on the ribbon, so simples haha, it's because I'm new in power Bi, but thanks anyway

View solution in original post

5 REPLIES 5
ryan_mayu
Super User
Super User

@Anonymous

 

Do you have a month slicer to make the monthsum show as the correct value?

 

If not, I think you can try

 

= Divide( calculate([monthsum], FILTER(table, table[month]="December)), [REVENUSUM])

 

Hope this is helpful. thanks.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Hey Ryan, thanks for you answer! I've just discovered the problem, it was only necessary to click on the percentual button located on the ribbon, so simples haha, it's because I'm new in power Bi, but thanks anyway

Hi @Anonymous

 

Glad to hear that you've solved it, please accept your solution to close this thread.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
themistoklis
Community Champion
Community Champion

@Anonymous

 

Try something like the following:

 

Measure =DIVIDE( [MONTHSUM], calculate( [REVENUESUM], all(table[MONTHS] )))
Anonymous
Not applicable

It does divide, but when I put on the card chart and turn into percentage it brings me 100% which is not true

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors