cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gaurav01 Frequent Visitor
Frequent Visitor

% calculation

Hi, 

 

I have a measure which calculates all parts monthly from a table sya table1.

 

I have another table (table 2) which is created manually which includes month in one column and a value related to it in the second column.

 

I want to calculate the % of table 1/ table2 values month-wise. It would be helpful if you could please let me know how to do it. 

 

Thank you!

 

3 REPLIES 3
Super User
Super User

Re: % calculation

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


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

Proud to be a Datanaut!


Community Support Team
Community Support Team

Re: % calculation

Hi @Gaurav01,

 

Please provide a dummy sample. 

I would suggest you create a date table and establish some relationships. Then the visual could be the month column from the date table and a measure like below.

 

Measure =
SUM ( 'table1'[value] ) / SUM ( 'table2'[value] )

 

Best Regards,
Dale

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

Re: % calculation

Hi @Gaurav01,

 

Could you please mark the proper answers as solutions?

 

Best Regards,

Dale

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