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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors