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