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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
uie07923
Frequent Visitor

% from month - Calculate

Hi guys, 

 

Sorry for the simple question.

I have a measure with the simple SUM for a column (Tempo Ocupado CAL = SUM('ZCO08-CAL'[Atvd.a ser conf.])

 

I want to find out the % that it represents for each product family (Press/Prensa) for each month.

2021-09-29_15-38-29.jpg

I need to build the measure for it, as I need to put it in a chart.

2021-09-29_15-42-37.jpg

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @uie07923 

 

You could try this measure:

Percentage = DIVIDE(SUM('ZCO08-CAL'[Atvd.a ser conf.]),CALCULATE(SUM('ZCO08-CAL'[Atvd.a ser conf.]),ALLSELECTED('ZCO08-CAL'[Prensa])))

 

Another option is that you can drag 'ZCO08-CAL'[Atvd.a ser conf.] column into the Matrix visual as Values field. Then right click on it and select Sum and Show value as > Percent of column total

21100501.jpg

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

vanessafvg
Super User
Super User

it depends on how you are going to display it on the visual, what is your expectation of how it will look as per the table you have provided?

 

also its always best to provide sample data in text form.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors