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
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
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.