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

Values by month

Hello!

 

I have one table with values per different dates, Table 1 in figure, which do not have any values certain dates and months. I have one table with a percentage for each month under a year (Table 2). I now want to create a visual result table that show according to the result table in figure below. It should sum all values in Table 1 to one total sum, then multiply the total sum from Table 1 by each month’s percentage in Table 2. The result table should ignore selections of month but accept change in year.

 

Skärmklipp 2.JPG 

 Skärmklipp.PNG

Hope you can help. 

 

Best regards

Mårten 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Jeltex Member
Member

Re: Values by month

Hi,

 

Make sure that your month in table 2 is formatted as don't summarize.

 

Then you can use this measure:

Result := SUM(Table2[Percentage per]) * SUM(Table1[Values])

 

This does give me your desired result when i recreated this.

View solution in original post

3 REPLIES 3
Jeltex Member
Member

Re: Values by month

Hi,

 

Make sure that your month in table 2 is formatted as don't summarize.

 

Then you can use this measure:

Result := SUM(Table2[Percentage per]) * SUM(Table1[Values])

 

This does give me your desired result when i recreated this.

View solution in original post

Marten Frequent Visitor
Frequent Visitor

Re: Values by month

Maybe I didn’t explain so well but this proposal will not give me values for the month that have not values in date and value coulmns in table 1.   

 

Thanks!

 

Best regards 

Mårten 

Community Support Team
Community Support Team

Re: Values by month

Hi @Marten

 

By my tests, the formula from Jeltex could give your desired result.

 

Capture.PNG

 

However, I'm confused about your logic. Maybe I miss something?



Maybe I didn’t explain so well but this proposal will not give me values for the month that have not values in date and value coulmns in table 1.   

 


 

Could you describe it in more details?

 

Best Regards,

Cherry

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

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)